Intent to Implement: CSS text-decoration-width

2019-06-13 Thread Charlie Marlow
Intent to Implement: CSS text-decoration-width

Summary: text-decoration-width allows web developers to specify a specific 
thickness of an underline, overline, or line-through text-decoration. This 
allows web developers to have greater control over the look and style of their 
web pages.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1440014 
<https://bugzilla.mozilla.org/show_bug.cgi?id=1552062>

Spec: https://drafts.csswg.org/css-text-decor-4/#text-decoration-width-property 
<https://drafts.csswg.org/css-text-decor-4/#underline-offset>

Platform coverage: All platforms using gecko rendering engine

Estimated release to mozilla-central: next 1-2 weeks

Preference behind which this will be implemented:
layout.css.text-decoration-width.enabled

Is this feature enabled by default in sandboxed frames? Yes

DevTools bug: None needed

Support in other browsers: Safari Technology Preview is the only other browser 
supporting this feature

Web-platform-tests: 
- parsing tests: 
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/css/css-text-decor
 
<https://searchfox.org/mozilla-central/source/testing/web-platform/tests/css/css-text-decor>
 
- text-decoration-width-* tests
- Ref tests: https://bugzilla.mozilla.org/show_bug.cgi?id=1558899

- Charlie Marlow
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Intent to Implement: CSS text-underline-offset

2019-06-13 Thread Charlie Marlow
Intent to Implement: CSS text-underline-offset

Summary: text-underline-offset allows users to control the distance between 
text and the underline text decoration. Positive values move it up “above” the 
text for horizontal text, and negative values move it down the page. It would 
allow web-developers to have more control over the style of text.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1552062 
<https://bugzilla.mozilla.org/show_bug.cgi?id=1552062>

Spec: https://drafts.csswg.org/css-text-decor-4/#underline-offset 
<https://drafts.csswg.org/css-text-decor-4/#underline-offset>

Platform coverage: All platforms using gecko rendering engine

Estimated release to Mozilla-central: next 1-2 weeks

Preference behind which this will be implemented:
layout.css.text-underline-offset.enabled

Is this feature enabled by default in sandboxed frames? Yes

DevTools bug: None needed

Support in other browsers: As of right now, Safari Technology Preview is the 
only browser supporting this feature. 

Web-platform-tests: 
- parsing tests: 
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/css/css-text-decor
 
<https://searchfox.org/mozilla-central/source/testing/web-platform/tests/css/css-text-decor>
 
- text-underline-offset-* tests
- Ref tests: https://bugzilla.mozilla.org/show_bug.cgi?id=1557857 
<https://bugzilla.mozilla.org/show_bug.cgi?id=1557857> 

- Charlie Marlow
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Intent to Prototype: text-decoration-skip-ink

2019-08-06 Thread Charlie Marlow
Summary: text-decoration-skip-ink is a CSS feature that makes underlines and 
overlines skip around the text, instead of painting behind it. There is a 
picture of this effect on the standards link.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1411922 
<https://bugzilla.mozilla.org/show_bug.cgi?id=1411922> 

Standard: 
https://drafts.csswg.org/css-text-decor-4/#text-decoration-skip-ink-property 
<https://drafts.csswg.org/css-text-decor-4/#text-decoration-skip-ink-property> 

Platform coverage: This will be available on all platforms using Gecko.

Preference: It will be preffed off by default under 
layout.css.text-decoration-skip-ink.enabled

DevTools bug: This is a minor, cosmetic visual feature with no clear 
opportunity for DevTools integration. 

Other browsers: It works in both Chrome and Safari.

Web-platform-tests: Initial reftests will be landed with the first patch, they 
are here: https://phabricator.services.mozilla.com/D40707 
<https://phabricator.services.mozilla.com/D40707> 

Secure contexts: No, it is not restricted to secure contexts in other browsers, 
so for compatibility we don’t restrict it either.


Charlie Marlow
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform