Closed Bug 1802419 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 37157 - [initial-letter] Handle tab character in ::first-letter

Categories

(Core :: Layout: Block and Inline, task, P4)

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yoshifuim Inoue <yosin@chromium.org> wrote:

[initial-letter] Handle tab character in ::first-letter

Before this patch, we assume initail letter text is consisted with only
one NGInlineItem, however when initail letter text contains tab
character, e.g. white-space: pre, we have multiple NGInlineItems
then multiple NGInlineItemResult, NGLogicalLineItem, etc.

This patch handles this situation.

Bug: 1276900
Change-Id: I027844c5787f8ddf4faa09fc226989858d4ad7c2
Reviewed-on: https://chromium-review.googlesource.com/4053453
WPT-Export-Revision: d3350b2f70957c9eaaae0266b2cb6bfbebf3744d

Component: web-platform-tests → Layout: Block and Inline
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests

Status Summary

Firefox

FAIL: 2

Chrome

FAIL: 2

Safari

FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/719f519a5c4d [wpt PR 37157] - [initial-letter] Handle tab character in ::first-letter, a=testonly https://hg.mozilla.org/integration/autoland/rev/fe4e934b9207 [wpt PR 37157] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.