Commit graph

20 commits

Author SHA1 Message Date
Arlo Breault d132c60c6e Update typeofs to mw:File
Bug: T273505
Depends-On: I719a367622b3887cfea3032582a767c2c38d0f87
Change-Id: Ifa957e3b0e437447cdc1a60b2f387440a9ef9a88
2022-05-19 17:21:55 -04:00
Arlo Breault 011323524f Disable tests to avoid circular dependency
Bug: T273505
Change-Id: I9f36ef8bc3023195dd31e52f04e8f0f0f792d311
2022-05-19 17:19:44 -04:00
Arlo Breault 75f95fbc1e Place tooltips if caption isn't visible
Matches Parsoid commit Icbc36b6e9aa1b9f4f27c23f4833c626a725cc154

Bug: T297443
Bug: T108380
Depends-On: I30eba0fb226971ddeda4eb240929e89ef7e5f45f
Change-Id: Ic0169d3914c5ce442b063f4bbbb6493966dbb302
2022-05-16 19:22:03 -04:00
Arlo Breault 04ce450e68 Disable test temporarily
To break circular dependency.

For I30eba0fb226971ddeda4eb240929e89ef7e5f45f

Bug: T297443
Bug: T108380
Change-Id: I896e2af2e8a712a36eb23a25cad08f53574fc044
2022-05-16 17:54:56 -04:00
Arlo Breault 375570b616 Account for strtok boolean return type
This has been around for 16 years (since 284a684c) but throws when
strict_types are enforced.

Ternary is fine here since "0" doesn't seem like a legitimate type.

Bug: T302093
Change-Id: I1d2087ba28496e26c2718387cd735541698351f0
2022-02-25 18:53:47 -05:00
Arlo Breault 6b15f9b4b4 Re-enable tests that were disabled to break circular dep
Depends-On: Id4e8d16344ce0f420bfd3e0d5833c67d1cf85fd8
Change-Id: I9307a9fe09433ee0d552f4032b9505418ed8763b
2022-02-18 19:43:10 -05:00
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)