Repository navigation
layout: Treat preserved tabs as conditionally hanging under white-space: pre-wrap - #48753
Conversation
|
🔨 Triggering try run (#37798061092) for Linux (WPT) |
|
🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#63418) with upstreamable changes. |
|
Test results for linux-wpt from try job (#37798061092): Flaky unexpected result (23)
Stable unexpected results that are known to be intermittent (14)
Stable unexpected results (1)
|
|
|
8015a03 to
bba38b5
Compare
|
🔨 Triggering try run (#37806299265) for Linux (WPT) |
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#63418). |
|
Test results for linux-wpt from try job (#37806299265): Flaky unexpected result (22)
Stable unexpected results that are known to be intermittent (9)
|
|
✨ Try run (#37806299265) succeeded. |
Servo previously had a non-functional user-agent stylesheet implementation of `<wbr>` (that maybe worked in old layout). This change replaces it with a box tree construction path that adds a zero-width space to inline content when `<wbr>` is encountered. This is more-or-less what other browsers do and should be undetectable by web content. Testing: Three tests start to pass and two start to fail. The failing tests will pass once servo#48753 lands. Fixes: servo#21722. Signed-off-by: Martin Robinson <[email protected]>
bba38b5 to
645a81a
Compare
|
🔨 Triggering try run (#37895051376) for Linux (WPT) |
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#63418). |
|
Test results for linux-wpt from try job (#37895051376): Flaky unexpected result (23)
Stable unexpected results that are known to be intermittent (8)
Stable unexpected results (3)
|
|
|
645a81a to
bc728f4
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#63418). |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#63418) title and body. |
bc728f4 to
924a396
Compare
|
🔨 Triggering try run (#38028443039) for Linux (WPT) |
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#63418). |
|
Test results for linux-wpt from try job (#38028443039): Flaky unexpected result (16)
Stable unexpected results that are known to be intermittent (15)
|
|
✨ Try run (#38028443039) succeeded. |
Servo previously had a non-functional user-agent stylesheet implementation of `<wbr>` (that maybe worked in old layout). This change replaces it with a box tree construction path that adds a zero-width space to inline content when `<wbr>` is encountered. This is more-or-less what other browsers do and should be undetectable by web content. Testing: Three tests start to pass and two start to fail. The failing tests will pass once servo#48753 lands. Fixes: servo#21722. Signed-off-by: Martin Robinson <[email protected]>
…ace: pre-wrap` The [specification] says that preserved tabs must hang conditionally when `white-space` is `pre-wrap`. This change does that, but incorporating this idea into inline content sizing, white space trimming, and inline layout line breaking. Signed-off-by: Martin Robinson <[email protected]> Co-authored-by: Oriol Brufau <[email protected]>
924a396 to
7d0e701
Compare
|
🔨 Triggering try run (#38261166983) for Linux (WPT) |
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#63418). |
|
Test results for linux-wpt from try job (#38261166983): Flaky unexpected result (22)
Stable unexpected results that are known to be intermittent (10)
|
|
✨ Try run (#38261166983) succeeded. |
|
⛔ Failed to properly merge the upstream pull request (web-platform-tests/wpt#63418). Please address any CI issues and try to merge manually. |
* upstream/main: (1116 commits) base: Use serde_json::from_reader instead of allocating a string (servo#48843) script_bindings/script: Unify valid_floating_point_number_string (servo#48844) script: Update radio group when checked radio button joins by changing form owner (servo#48069) Font: avoid copying memory mapped font data on macOS (servo#48841) script: Small clean-up in `HTMLScriptElement`'s `get_script_type` (servo#48831) script: set checked element state when cloning input element (servo#48845) layout: Treat preserved tabs as conditionally hanging under `white-space: pre-wrap` (servo#48753) pixels: avoid snapshot copies in single-process mode (servo#48836) url: Faster url to string conversion (servo#48838) layout: Split `accessibility/mod.rs` into separate files (servo#48830) devtools: feature guard (servo#47255) script: Fix assertion failure when track with no cues is rendered (servo#48827) deny: Allow unused-allowed-org (servo#46281) a11y: Add more helper functions in integration test. (servo#48777) net: Avoid cloning the whole CorsCache when cleaning (servo#48828) layout: Replace `Direction` with `LogicalAxis` (servo#48815) Bump to Stylo with legacy justify-align fix (servo#48806) build: bump ohos-abilitykit-sys from 0.1.6 to 0.1.7 (servo#48822) build: bump thin-vec from 0.2.20 to 0.2.21 (servo#48821) build: bump hyper from 1.11.1 to 1.12.0 (servo#48820) ... # Conflicts: # components/config/prefs.rs # components/layout/display_list/mod.rs # components/layout/flow/inline/mod.rs # components/layout/flow/inline/text_run.rs # components/layout/layout_impl.rs
…ace: pre-wrap` (servo#48753) The [specification] says that preserved tabs must hang conditionally when `white-space` is `pre-wrap`. This change does that by incorporating this idea into inline content sizing, white space trimming, and inline layout line breaking. [specification]: https://www.w3.org/TR/css-text-3/#white-space-phase-2 Testing: This change adds a WPT test that fails in Firefox, but passes in Chrome and Safari. In addition 4 other WPT tests start to pass. Signed-off-by: Martin Robinson <[email protected]> Co-authored-by: Oriol Brufau <[email protected]>
The specification says that preserved tabs must hang conditionally
when
white-spaceispre-wrap. This change does that byincorporating this idea into inline content sizing, white space
trimming, and inline layout line breaking.
Testing: This change adds a WPT test that fails in Firefox, but passes
in Chrome and Safari. In addition 4 other WPT tests start to pass.