Fwd: [blink-dev] Intent to Prototype and Ship: support “JIS-B5” and “JIS-B4” @page sizes

FYI


> Begin forwarded message:
> 
> From: Felipe Erias Morandeira <felipeerias@gmail.com>
> Subject: [blink-dev] Intent to Prototype and Ship: support “JIS-B5” and “JIS-B4” @page sizes
> Date: February 19, 2020 1:48:48 JST
> To: blink-dev <blink-dev@chromium.org>
> 
> Contact emails
> felipeerias@gmail.com <mailto:felipeerias@gmail.com> 
> 
> Spec
> https://www.w3.org/TR/css-page-3/#typedef-page-size-page-size <https://www.w3.org/TR/css-page-3/#typedef-page-size-page-size> 
> 
> I’ve been informed that a TAG review is not needed in this case.
> 
> Explainer/Summary
> The CSS Paged Media Module Level 3 <https://www.w3.org/TR/css-page-3/#typedef-page-size-page-size> spec includes a list of page size names <https://www.w3.org/TR/css-page-3/#typedef-page-size-page-size> that may be used in the "size" property of the @page rule.
> 
> Among these are two names for Japanese Industrial Standard page sizes which are currently not being recognized by Chrome:
> “JIS-B5” refers to JIS B5 size (182mm wide by 257mm high)
> “JIS-B4” refers to JIS B4 size (257mm wide by 364mm high)
> 
> This feature completes the implementation of this section of the standard by adding support for these two page size names.
> 
> Chromium Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1047642 <https://bugs.chromium.org/p/chromium/issues/detail?id=1047642> 
> 
> CL: https://chromium-review.googlesource.com/c/chromium/src/+/2059029 <https://chromium-review.googlesource.com/c/chromium/src/+/2059029> 
> 
> Motivation
> The detailed description of bug 1047642 <https://bugs.chromium.org/p/chromium/issues/detail?id=1047642> links to some related discussions and documents. Chromium's implementation of the “size” property follows a now-obsolete version of the spec <https://www.w3.org/TR/2013/WD-css3-page-20130314/#page-size-prop> which didn't include the Japanese JIS B4 and JIS B5 paper sizes. Those were added later on following demand from Japanese users:
> 
> The B4 and B5 sizes included are very confusing for Japanese users, as they are defined as ISO B4 (250×353mm) and ISO B5 (176×250mm), different from the JIS-B4 (257×364mm) and JIS-B5 (182×257mm) commonly used in Japan. [www-style@w3c.org archives <https://lists.w3.org/Archives/Public/www-style/2015Oct/0234.html>]
> 
> We need jis-b5 and jis-b4 only because (ISO) b5 and b4 are already defined and those would confuse Japanese users. [public-css-archive@w3.org archives <https://lists.w3.org/Archives/Public/public-css-archive/2016Aug/0164.html>]
> 
> 
> Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
> Yes.
> 
> Risks
> Interoperability and Compatibility
> If support for the “size” property itself is already in place (as is the case with Chromium), adding support for the page size names listed in the spec is pretty much straightforward.
> 
> Edge: No signals
> Firefox: No signals
> Safari: No signals
> Web / Framework developers: already defined in CSS Paged Media Module Level 3 <https://www.w3.org/TR/css-page-3/#typedef-page-size-page-size> by the CSS Working Group.
> 
> Ergonomics
> This feature will have no impact on the browser's ability to maintain good performance.
> 
> Activation
> No specific extra work required: these two values are already part of the spec and mentioned in online documentation sites like MDN Web Docs <https://developer.mozilla.org/en-US/docs/Web/CSS/@page/size#Browser_compatibility>.
> 
> Debuggability
> No extra work needed by DevTools.
> 
> Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>?
> Not yet. I have created an issue and pull request to add those tests:
> https://github.com/web-platform-tests/wpt/issues/21858 <https://github.com/web-platform-tests/wpt/issues/21858> 
> https://github.com/web-platform-tests/wpt/pull/21859 <https://github.com/web-platform-tests/wpt/pull/21859> 
> 
> Entry on the feature dashboard <https://www.chromestatus.com/>
> I would need somebody to create an entry for this feature, as I don’t have the necessary permissions yet.
> 
> Requesting approval to ship?
> Yes.
> 
> -- 
> You received this message because you are subscribed to the Google Groups "blink-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org <mailto:blink-dev+unsubscribe@chromium.org>.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/287b9cc7-e0df-48df-9b9c-9aa165ecb377%40chromium.org <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/287b9cc7-e0df-48df-9b9c-9aa165ecb377%40chromium.org?utm_medium=email&utm_source=footer>.

Received on Wednesday, 19 February 2020 02:21:09 UTC