Commit graph

14 commits

Author SHA1 Message Date
Arlo Breault d0800e1f8d Revert "Add "resource" attribute to img tags"
For Id4e8d16344ce0f420bfd3e0d5833c67d1cf85fd8

Tests are disabled to avoid the circular dependency dance.

This reverts commit 8c9dfdf91f.

Change-Id: I261887a3b2d15130894b947d18a2e85537d50a1f
2022-02-18 19:41:11 -05:00
Arlo Breault 8c9dfdf91f Add "resource" attribute to img tags
Bug: T292657
Depends-On: Ia94138383ebdbfc2feef75fdf651b969085a72b1
Change-Id: Idb60e418f79dcb6a121de2a11e6e0ed0b31fd3ff
2021-12-15 19:16:09 -05:00
Arlo Breault 124cff0cb2 Handle link= file option
This only crashed the legacy output.

Bug: T294467
Change-Id: I4c44c0d04a0726c88d4ec9a7efbfd5e0a49d4437
2021-11-24 18:00:23 -05:00
Arlo Breault c3d9df4c40 Sync up with Parsoid imageMapParserTests.txt
This now aligns with Parsoid commit 1be0459b35fc39054f9ad74819409c127919fb0d

Change-Id: I34c936506b4d43f6b860003e2a70eec80a4f532c
2021-11-22 16:00:05 -05:00
Arlo Breault ee3e717a52 Force block imagemaps when !$enableLegacyMediaDOM
Matches the implementation in Idb576004a58f0949b824a46d26dab7d715268ca4

Bug: T290044
Change-Id: I3971471dd4f56d9df9246dc571a4c42cfe424867
2021-09-08 20:08:13 -04:00
Arlo Breault 66cc306cbe Update ImageMap for new media structure
Bug: T272186
Change-Id: I5544b7274316248773f191eb7ecd08088473fcd9
2021-08-12 19:00:19 -04:00
Arlo Breault 0ffd3ef783 Sync up with Parsoid imageMapParserTests.txt
This now aligns with Parsoid commit 77c2f005e3b3fdca6b4ff850066170b31390951d

Change-Id: Ic2fc228c959f273a005451ff8eb1f6830de5cf6b
2021-08-12 18:38:49 -04:00
Arlo Breault 7663297861 Sync up with Parsoid imageMapParserTests.txt
This now aligns with Parsoid commit 10b44f6c0b6a38fb129a0deb39b98b196508ebe3

Change-Id: I29b89066e666dd0e552a2d30315a116153b58d5f
2021-07-15 15:39:35 -04:00
C. Scott Ananian 86e2a3a971 Update parserTests to v2 (tidy by default)
Mostly cleaning up close tags for empty elements.

Bug: T249136
Change-Id: Ifb13838c32748b1d52612da0cdb0e0a44c6e0689
2020-04-01 20:09:52 +00:00
Ed Sanders b024fddb4d Make mapName deterministic so it can be tested
Change-Id: Ia906b46fbe8d84ae1482f8efaeb609d08c53bfa8
2019-08-30 17:43:37 +01:00
Arlo Breault f2c607e101 Update tests to match parser changes
Bug: T208070
Depends-On: I3da235cb83efa424f0cf1cf4fc7233240fcdf6b2
Change-Id: Ie70e1915c172d2d67b3b8b90eb35f753b800f61e
2019-03-15 18:24:51 +00:00
zoranzoki21 b0b5b63fd9 Move images in resources directory
Change-Id: Id76a292e75c1ef82410439235b6d25eb0cff4284
2019-03-02 22:06:50 +01:00
Thiemo Kreuz 0c36a0b9a7 Fix parser test by adding decoding="async" parameter
As far as I can see this was introduced via I3d738eb in December 2018,
but never applied to this codebase.

Bug: T212124
Change-Id: I5d986b23fdd52ebc207405f8d7dfcdc208e55f3f
2019-01-15 15:45:31 +01:00
Jayprakash12345 a6cb086374 Update extensions to take advantage of parser test autodiscovery
Bug: T170037
Change-Id: I8eae59053930f7621c812c754d5f4fa5314087e1
2018-04-13 15:23:25 +00:00
Renamed from imageMapParserTests.txt (Browse further)