Hi Tobias, thank you for debugging this issue. I'm a little confused, however: The spec says the computed value for border-image-repeat is "as specified" which to me suggests the "stretch" keyword shouldn't be dropped, even if it's the default. That would make it a bug in Aurora. What do you think?
Regards, Daniel On 07/25/2012 04:11 PM, Tost, Tobias wrote: > Hi, > > by checking against current Mozilla Aurora build, we ran into problems > with the border image CSS tag. > > Recently, border-image-repeat got “stretch” as default value > > http://www.w3.org/TR/css3-background/#border-image-repeat > > This means, that the current implementation for > > qx.bom.client.Css.getBorderImageSyntax > > is not acting correctly as “stretch” will be omitted (at least on > aurora) as it is a default value. We had to change the variants array to > > varvariants = [ > > { > > standard : true, > > syntax : 'url("foo.png") 4 4 4 4 fill stretch', > > regEx : /foo\.png.*?4.*?fill/ > > }, > > { > > standard : false, > > syntax : 'url("foo.png") 4 4 4 4 stretch', > > regEx : /foo\.png.*?4 4 4 4 stretch/ > > } > > ]; > > To behave correctly. I tested this against aurora (15), chrome 21 and ie > 9 and Firefox 14. I just wanted to let you know that after this change, > everything else works like a charm in Aurora, otherwise the backgrounds > will all be amiss as the border-image is considered to be non-standard > (which is wrong). Maybe you’d like to update Css.js to this new array? > > Kind regards, > > Tobias Tost. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
