Contact emails
Explainer
Spec
https://www.w3.org/TR/css-transforms-1/#transformable-element
https://www.w3.org/TR/css-transforms-1/#transform-rendering
Summary
According to https://www.w3.org/TR/css-transforms-1/#transformable-element:
“an element whose layout is governed by the CSS box model which is either a block-level or atomic inline-level element, or whose display property computes to table-row, table-row-group, table-header-group, table-footer-group, table-cell, or table-caption”
Additionally according to https://www.w3.org/TR/css-transforms-1/#transform-rendering:
“For elements whose layout is governed by the CSS box model, any value other than none for the transform also causes the element to become a containing block, and the object acts as a containing block for fixed positioned descendants.”
This means that table-row, table-row-group, table-header-group, table-footer-group, table-cell, and table-caption that have a transform property should be containing blocks for fixed position elements. This intent proposes that these changes be made in Blink. Specifically, Blink currently does not make <tr>, <tbody>, <tfoot>, and <thead> with a transform be a containing block for fixed position elements, which we propose to change.
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Demo link
http://output.jsbin.com/cemigih
Risks
Interoperability and Compatibility
Edge: Does not seem to support transforms on tr
Firefox: Shipped
Safari: No signals
This seems to be a rarely used feature (see crbug.com/804952), so the risk of changing the behavior should be low.
Is this feature fully tested by web-platform-tests? Link to test suite results from wpt.fyi.
Tests are landing in:
https://github.com/w3c/web-platform-tests/pull/9200
via
https://chromium-review.googlesource.com/c/chromium/src/+/887364
Entry on the feature dashboard
https://www.chromestatus.com/feature/5514792538210304
Thanks,
Vlad
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADsXd2NhTzw5C-11iwruJ6b67Hx-YX--pN4Rq%2BYWKFO8hhykkA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw8UkfVALcKuG5ftwHqBG1R2FauUVvqtwGNBWYOK-UHwsg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY8O3L7te%2B-ZUe1F2Sobi453Cf669oBB9d4Q0SU9kdnthw%40mail.gmail.com.