Re: [css-writing-modes-3] page-flow-direction-002 test : images wider than paper ?

Le 2016-05-31 23:58, Gérard Talbot a écrit :
> Koji,
> 
> [src]
> http://test.csswg.org/source/css-writing-modes-3/page-flow-direction-002.xht
> 
> [Shepherd]
> http://test.csswg.org/shepherd/testcase/page-flow-direction-002/
> 
> 
> You wrote:
> "
> Could we use smaller images? On my PC with my printer, the images are
> wider than paper and each page is printed on two pages. That's not
> what we want to test here, correct?
> "
> 
> I just stumbled on your comment today. The intrinsic width of the
> widest image among the 4 images is 651px. I can rearrange the images'
> intrinsic width to be narrower

I have narrowed the 4 images so that they all are 391px wide in the 
following draft and not-submitted-yet tests:

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/wm-page-flow-direction-002-new.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/wm-page-flow-direction-003-new.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/wm-page-flow-direction-004-srl-new.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/wm-page-flow-direction-005-slr-new.xht


> but the test, as designed, will require
> that each <div> uses 100% of the available width of document box so
> that a page break occurs after each <div>.
> 
> I do not understand why the images could be wider than paper but I do
> see they seem to be wider than my page setup with Chrome 51 and Chrome
> 52.

I still do not understand why the images could be wider than page box 
(portrait, US Letter 215.9mm wide by 279.4mm tall, margins: 10mm).

> My page setup settings for Firefox and Chrome are:
> Orientation: Portrait,
> Paper size: US Letter (215.9mm wide by 279.4mm tall),
> Margins on all 4 sides: 10mm .
> 
> Both Chrome 52.0.2743.19 and Firefox 49.0a1 buildID=20160531030258
> fail that test for different reasons...

One thing I believe I was missing is that I must set <html> element's 
width to 100% of page area, which I did not in the previous tests. 
<html> element's width when set to 'auto' will shrink-to-fit in all 4 
vertical writing-modes, including in print media.

Anyway... I am still unsure how to code those 4 tests. And I suspect 
Chrome 55 dev (55.0.2868.3) and Firefox 52.0a1 (buildID=20160924030427) 
also both have print-media related bugs too.

Gérard
-- 
Test Format Guidelines
http://testthewebforward.org/docs/test-format-guidelines.html

Test Style Guidelines
http://testthewebforward.org/docs/test-style-guidelines.html

Test Templates
http://testthewebforward.org/docs/test-templates.html

CSS Naming Guidelines
http://testthewebforward.org/docs/css-naming.html

Test Review Checklist
http://testthewebforward.org/docs/review-checklist.html

CSS Metadata
http://testthewebforward.org/docs/css-metadata.html

Received on Sunday, 25 September 2016 00:12:57 UTC