Skip to content

Commit

Permalink
Part 2: Retire the support for 3-valued syntax for position.
Browse files Browse the repository at this point in the history
According to this resolved spec issue:
w3c/csswg-drafts#2140,
we retire the 3-valued <position> on
1. `object-position`
2. `perspective-origin`,
3. `mask-position`
4. `circle()` and `ellipse()`
, but still keep the support for `background-position`.

Besides, I simply run this python script to generate the .ini file:
```
s = sys.argv[1] + ".ini"
with open(s, "w") as f:
    f.write('[{}]\n'.format(sys.argv[1]))
    f.write('  expected: FAIL\n')
    f.write('  bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1559276\n')
```

Differential Revision: https://phabricator.services.mozilla.com/D37126

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1559276
gecko-commit: 6ec2809da4e31720cbb59b4ba71616c1c168553e
gecko-integration-branch: autoland
gecko-reviewers: emilio
  • Loading branch information
BorisChiou authored and moz-wptsync-bot committed Jul 11, 2019
1 parent 6fca6d4 commit f93a1a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions css/css-images/parsing/object-position-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
test_invalid_value("object-position", "auto");
test_invalid_value("object-position", "1px 2px 3px");
test_invalid_value("object-position", "left right");
test_invalid_value("object-position", "bottom 10%");
test_invalid_value("object-position", "bottom 10% top 20%");

// The following were supported in an earlier version of the spec.
Expand Down

0 comments on commit f93a1a4

Please sign in to comment.