Arlo Breault
08b48fd551
Re-enable tests
...
Follow-Up: I7b1f07190e8eaca5cbda38d9ce366aa60041ab81
Depends-On: If1e55feb86ce8b32f772e3b78bc9d29f122f4d58
Change-Id: I2a7b255f2783fad6b2e7e1478e5b020f396a486b
2023-02-09 10:25:10 -05:00
Arlo Breault
9f55b88fe9
Disable tests for CI
...
Needed-By: If1e55feb86ce8b32f772e3b78bc9d29f122f4d58
Change-Id: I7b1f07190e8eaca5cbda38d9ce366aa60041ab81
2023-02-09 10:21:51 -05:00
Arlo Breault
015a318a05
Re-enable tests
...
Follow-Up: Id6ad0b922f8384f2bbf08e1032b0197aa3136233
Depends-On: I8d059852f472b40b4f4f80a8fa12230f6f4f13ad
Change-Id: I1e5796f768649df466a768f81f2165e601940b8f
2023-02-08 16:20:18 -05:00
Arlo Breault
8d8e95e081
Disable tests for CI
...
Needed-By: I8d059852f472b40b4f4f80a8fa12230f6f4f13ad
Change-Id: Id6ad0b922f8384f2bbf08e1032b0197aa3136233
2023-02-08 16:17:56 -05:00
Bartosz Dziewoński
2cc6549898
Use Parsoid's HTML5-compliant helpers for HTML transformations
...
Previously XML parsing and serialization was used, causing `<br>`
to be disallowed and `<br />` to turn into `<br></br>`.
Also update some uses of XPath to use querySelector() helper.
Bug: T113791
Change-Id: Ic2069015b4cbb5d05a72eb383052319048111623
2022-11-25 17:05:24 +00:00
C. Scott Ananian
8890a38c96
Sync up ImageMap repo with Parsoid
...
This now aligns with Parsoid commit 5c6d948979bba6b58db13790cf3afcc883fe4ff6
Change-Id: Ie17011479274950758bce690d1d874d9e5f001a3
2022-10-12 14:52:11 -04:00
Arlo Breault
bc5f7f7f3f
Sync up with Parsoid imageMapParserTests.txt
...
This now aligns with Parsoid commit 4eb378d8c7cbdc9d6a939d6068f1c13e94e2b0ac
Change-Id: I83cd0c78abb6ef4313113b22bca486fc7453dcd7
2022-05-27 12:21:24 -04:00
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