New issue
Advanced search Search tips

Issue 815111 link

Starred by 6 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac , Fuchsia
Pri: 2
Type: Feature



Sign in to add a comment

Support paint-order for HTML text

Reported by t...@tobireif.com, Feb 23 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36

Steps to reproduce the problem:
Go to https://developer.mozilla.org/en-US/docs/Web/CSS/paint-order, view the demo.

What is the expected behavior?
The paint-order property should be supported for HTML text.

What went wrong?
The paint-order property is not supported for HTML text.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 64.0.3282.167  Channel: n/a
OS Version: OS X 10.13.3
Flash Version: 

Firefox Nightly now supports paint-order for HTML text:
https://twitter.com/TobiReif/status/966711161390497792
 

Comment 1 by t...@tobireif.com, Feb 23 2018

WebKit is implementing it as well:
https://bugs.webkit.org/show_bug.cgi?id=168601

Comment 2 by t...@tobireif.com, Feb 24 2018

The latest WebKit from https://webkit.org/build-archives/ now also supports "paint-order: stroke fill" for HTML text (as Firefox Nightly does). Try eg the demo at https://developer.mozilla.org/en-US/docs/Web/CSS/paint-order .

Comment 3 by t...@tobireif.com, Feb 24 2018

P.S. Even the latest Safari!
Components: -Blink>CSS Blink>SVG
Labels: OS-Android OS-Chrome OS-Fuchsia OS-Linux OS-Windows
Spec:
https://svgwg.org/svg2-draft/painting.html#PaintOrder

Comment 5 by t...@tobireif.com, Feb 25 2018

Regarding "Components: -Blink>CSS Blink>SVG"

The title of this ticket is

"Support paint-order for HTML text" 😀

Supporting it for SVG is great but is a separate objective (and perhaps Chrome already supports it for SVG?)

Firefox Nightly supports paint-order for HTML text
https://twitter.com/TobiReif/status/966711161390497792
as does Safari.

I hope that Chrome will support paint-order for HTML text as well.

Spec ticket:
https://github.com/w3c/fxtf-drafts/issues/107

Firefox tickets:
https://bugzilla.mozilla.org/show_bug.cgi?id=1426146
https://bugzilla.mozilla.org/show_bug.cgi?id=1435684

Safari tickets:
https://bugs.webkit.org/show_bug.cgi?id=183077
https://bugs.webkit.org/show_bug.cgi?id=168601

Comment 7 by f...@opera.com, Feb 25 2018

Components: -Blink>SVG Blink>Paint
Labels: -Type-Bug Type-Feature
Status: Available (was: Unconfirmed)
> ...perhaps Chrome already supports it for SVG?

Chrome/Blink has supported for a number of years now.

It seems Blink>Paint may be be a more appropriate component. (Only changes to paint code should be strictly required AFAIK.)

Comment 8 by t...@tobireif.com, Feb 25 2018

> Chrome/Blink has supported for a number of years now.

That's great 😀 I hope that Chrome will support paint-order for HTML text as well.

Comment 9 by t...@tobireif.com, Apr 3 2018

Is it planned to support paint-order for HTML text? That would be really nice 😀

Sign in to add a comment