Last Comment Bug 589638 - (ietestcenter) HTML5 Foreign Content 2/24: Test passes if 'FillerText' is rendered as italic.
: (ietestcenter) HTML5 Foreign Content 2/24: Test passes if 'FillerText' is re...
Status: NEW
Product: Tech Evangelism
Classification: Other
Component: Desktop (show other bugs)
: unspecified
: x86_64 Linux
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
Depends on:
Blocks: ietestcenter
  Show dependency treegraph
Reported: 2010-08-22 17:33 PDT by Darxus
Modified: 2014-09-14 23:11 PDT (History)
11 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---


Description Darxus 2010-08-22 17:33:37 PDT
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:2.0b4pre) Gecko/20100817 Minefield/4.0b4pre
Build Identifier: 

Fails test.

Reproducible: Always
Comment 1 Boris Zbarsky [:bz] 2010-08-22 23:42:03 PDT
This test is bogus.  In particular, the SVG spec is very clear that the text should be laid out in such a way that the baseline of the text is at the y position of the <text> element, and since the "y" attribute is not specified, the y position defaults to 0.  Thus all the text is above the top of the <svg> bounding box and is clipped out.
Comment 2 Boris Zbarsky [:bz] 2010-08-22 23:44:11 PDT
And it's clipped out because SVG 1.1 section 14.3.3 says that the default value of 'overflow' for <svg> is 'hidden'.
Comment 4 Boris Zbarsky [:bz] 2010-08-27 09:12:50 PDT
It might be good to also keep the original tests but change the pass condition to the content not being visible (which IE9 would therefore fail).
Comment 5 jag (Peter Annema) 2011-02-10 20:19:39 PST

Patrick Dengler [MSFT] 10 Feb 2011 3:30 PM

> 589638 and 589639 states that the test is 'bogus' because the default in SVG 
> for overflow is hidden.  We discussed this in the working group and since the 
> default in CSS for HTML is overflow:visible, and since this is an HTML page 
> (and not SVG or XHTML), the default should be visible, these seem to be valid.

> The initial value for ‘overflow’ as defined in [CSS2-overflow] is 'visible', 
> and this applies also to the root ‘svg’ element; however, for child elements 
> of an SVG document, SVG's user agent style sheet overrides this initial value 
> and sets the ‘overflow’ property on elements that establish new viewports 
> (e.g., ‘svg’ elements), ‘pattern’ elements and ‘marker’ elements to the value 
> 'hidden'.

If I'm reading that right (probably not), that <svg> element should have "overflow: visible" on it.
Comment 6 Boris Zbarsky [:bz] 2011-02-10 20:25:59 PST
SVG's user agent style sheet is applied to all documents, though, not just SVG documents...  That informative text is not consistent with normative text elsewhere, basically, as far as I can see.
Comment 7 Boris Zbarsky [:bz] 2011-02-10 20:30:17 PST
In particular, the normative text at which clearly says that that rule applies to all <svg> elements, not just those in an SVG document.
Comment 8 Karl Dubost :karlcow 2014-09-14 19:37:56 PDT
Not sure why this is a tech evangelism issue and who/what actions should be taken on that?
It seems more a discussion in between people involved in creating test suites.
Comment 9 Boris Zbarsky [:bz] 2014-09-14 21:34:49 PDT
This isn't a test suite; it's an IE marketing site...

Note You need to log in before you can comment on or make changes to this bug.