Remove the "-moz" prefix for column properties in imported css-multicol tests
Categories
(Core :: Layout: Columns, task, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(3 files)
The column properties in the imported css test in layout/reftests/w3c-css/received/css-multicol
are auto-prefixed "-moz" by import-test.py in https://searchfox.org/mozilla-central/rev/75294521381b331f821aad3d6b60636844080ee2/layout/reftests/w3c-css/import-tests.py#41-52
We now support standard column properties, the "-moz" prefix shouldn't be needed.
Assignee | ||
Comment 1•6 years ago
|
||
Removing "-moz" prefix for column properties from the tests can fix multicol-span-000.xht
because <div id="-moz-column-span">123456</div>
is incorrectly replaced with <div id="-moz-column-span">123456</div>
, which fails to get the style in div#column-span {}
.
Assignee | ||
Comment 2•6 years ago
|
||
This is discovered by running "flake8 import-tests.py" locally.
Assignee | ||
Comment 3•6 years ago
|
||
Also, build gPrefixRegexp and replace lines only if gPrefixedProperties
is non-empty. Otherwise, the import tests are messed up due to bogus
gPrefixRegexp.
Depends on D30404
Assignee | ||
Comment 4•6 years ago
|
||
multicol-span-000.xht passes because the id in
<div id="column-span">123456</div>
was incorrect replaced by "-moz-column-span". Strip the "-moz" prefix
fixed it.
Except failures.list, other files was modified mechanically by running
import-tests.py against wpt commit
15f199c91a72b0d51bf0a12b3b77827ecb5051ff (the same commit in
received/import.log).
Depends on D30405
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/82c216e530ea
https://hg.mozilla.org/mozilla-central/rev/108d96d047cd
https://hg.mozilla.org/mozilla-central/rev/9c5a51b331c2
Description
•