Closed Bug 1746993 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 32153 - CSS: Unprefix -webkit-text-emphasis properties

Categories

(Core :: Layout: Text and Fonts, task, P4)

task

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kent Tamura <tkent@chromium.org> wrote:

CSS: Unprefix -webkit-text-emphasis properties

This CL renames the following properties:

  • -webkit-text-emphasis => text-emphasis
  • -webkit-text-emphasis-color => text-emphasis-color
  • -webkit-text-emphasis-position => text-emphasis-position
  • -webkit-text-emphasis-style => text-emphasis-style

And make a -webkit-text-emphasis* and an -epub-text-emphasis* aliases
of the corresponding unprefixed property.

There are some known issues of the current implementation:

  • Rendering issue with letter-spacing (crbug.com/1281289)
  • Rendering issue with non-letters (crbug.com/1281409)
  • No CSS animation for text-emphasis-color
  • CSS Typed OM doesn't work well with text-emphasis-color
  • getComputedStyle() for text-emphasis is not correct
  • getComputedStyle() for text-emphasis-position is not correct

They will be addressed by separated CLs later.

Approved I2S: https://t.co/hZuM878RG9

Bug: 666433, 1281289, 1281409
Change-Id: Idd4e9f87c8eba51e8a6afc47a3dd3288b73caed7

Reviewed-on: https://chromium-review.googlesource.com/3350151
WPT-Export-Revision: d477c9ddae03f524349d5185755298c97cce3cd7

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2a333b54a81f
[wpt PR 32153] - CSS: Unprefix -webkit-text-emphasis properties, a=testonly
https://hg.mozilla.org/integration/autoland/rev/1a5aa13b4682
[wpt PR 32153] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.