Closed
Bug 1491321
Opened 7 years ago
Closed 7 years ago
[wpt-sync] Sync PR 13007 - [css-properties-values-api] Detect font-relative units via var() refs.
Categories
(Core :: CSS Parsing and Computation, enhancement, P4)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 13007 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/13007
Details from upstream follow.
Anders Hartvoll Ruud <andruud@chromium.org> wrote:
> [css-properties-values-api] Detect font-relative units via var() refs.
>
> The has[_root]_font_unit flags were accidentally ignored in one of
> CSSVariableData's constructors, and also not propagated properly during
> variable resolution. This caused us to lose any knowledge about these units
> if they appeared via an inner var() reference.
>
> Also:
>
> * Fix incorrect rem test which tested the wrong thing due to the
> 'compute_dimension' utility mutating its style.
> * Reduce the chance of such errors in the future by cleaning the state
> between every test, and also at the end of 'compute_dimension'.
>
> R=chrishtr@chromium.org
>
> Bug: 641877
> Change-Id: If67cf4453e886f4c9430826c7cbe358e380c3f64
> Reviewed-on: https://chromium-review.googlesource.com/1226492
> WPT-Export-Revision: 36fb829f63c2ca8f2b45fbe64fa8441eb1bcfb21
Assignee | ||
Updated•7 years ago
|
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=18c648196552149761424a018a05daa3308dd11d
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=cf6081fc86a5f02b3a043b39079e40abd9e13641
Assignee | ||
Comment 5•7 years ago
|
||
Ran 1 tests and 1 subtests
OK : 1
FAIL : 1
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/bbf68d2707a7
[wpt PR 13007] - [css-properties-values-api] Detect font-relative units via var() refs., a=testonly
Comment 7•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•