Closed Bug 1574723 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 18524 - [css-logical] getComputedStyle().paddingBlock

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 18524 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/18524
Details from upstream follow.

Eric Willigers <ericwilligers@chromium.org> wrote:

[css-logical] getComputedStyle().paddingBlock

padding-block, padding-inline resolved values have absolute lengths.
https://drafts.csswg.org/css-logical/#propdef-padding-block
https://drafts.csswg.org/cssom/#resolved-values

getComputedStyle() results are tested for the following properties:

  • padding-block-start
  • padding-block-end
  • padding-inline-start
  • padding-inline-end
  • padding-block
  • padding-inline
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 2 tests and 28 subtests
OK     : 2
PASS   : 20
FAIL   : 8

New tests that have failures or other problems:
/css/css-logical/parsing/margin-block-inline-computed.html
    Property margin-block value '10px 20px' computes to '10px 20px': FAIL
    Property margin-block value '10px' computes to '10px': FAIL
    Property margin-inline value '30px 40px' computes to '30px 40px': FAIL
    Property margin-inline value '30px' computes to '30px': FAIL
/css/css-logical/parsing/padding-block-inline-computed.html
    Property padding-block value '10px 20px' computes to '10px 20px': FAIL
    Property padding-block value '10px' computes to '10px': FAIL
    Property padding-inline value '30px 40px' computes to '30px 40px': FAIL
    Property padding-inline value '30px' computes to '30px': FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/864e070dbc4b
[wpt PR 18524] - [css-logical] computed logical margin/padding, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/acdcaeb4c58b
[wpt PR 18524] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.