Commit graph

10524 commits

Author SHA1 Message Date
LalehB
9ed2a894dd Update PowerMeasure.py 2014-09-15 16:13:41 -07:00
Jack Moffitt
d161d0ad47 Merge pull request #3299 from servo/iframe-javascript-urls
Handle iframe.src with a javascript: URL.
2014-09-15 17:03:54 -06:00
LalehB
587eaf4f5b Update PowerMeasure.py
fixing a bug in displaying results
2014-09-15 14:03:42 -07:00
Jack Moffitt
b605929134 Handle iframe.src with a javascript protocol URL.
This change prevents us from crashing on Amazon and other pages with
iframe.src="javascript:foo".
2014-09-15 10:02:02 -06:00
Glenn Watson
cab15531b5 Implement generated_containing_block_rect for TableFlow. Fixes #3337. 2014-09-15 15:39:58 +10:00
Manish Goregaokar
fe31805a04 Merge pull request #3282 from gilles-leblanc/tests-readme
Updates tests README.md for mach; r=Manishearth
2014-09-14 23:14:36 +05:30
Gilles Leblanc
d3dc61c984 Updates tests README.md for mach 2014-09-14 13:40:19 -04:00
Jack Moffitt
e10206e91e Reinstate errors for unused variables and imports. 2014-09-13 23:38:00 -06:00
Ms2ger
f466d31446 Merge pull request #3323 from Ms2ger/get_attribute
Stop messing with the case of the attribute name in AttributeHandlers::get_attribute; r=Manishearth
2014-09-13 21:02:40 +02:00
Ms2ger
d0e095a3e5 Stop messing with the case of the attribute name in AttributeHandlers::get_attribute.
This fixes a bug where GetAttributeNS would incorrectly match lower-case
attributes when called with an upper-case argument.
2014-09-13 21:01:54 +02:00
Glenn Watson
6a9001b4fd Add support for tables that are floated. 2014-09-13 14:51:07 +10:00
Glenn Watson
98624c9576 Implement basic support for display: inline-block.
This still needs a lot of work, but it covers the basic
cases and improves wikipedia while passing all existing tests.

Tweak reftest to deal with linux/travis black background.
2014-09-13 07:13:42 +10:00
Patrick Walton
41ffec0378 layout: Don't crash on floated generated content.
It doesn't construct the float correctly, but at least it doesn't crash
anymore.

Fixes Reddit.

Closes #3287.
2014-09-12 14:10:27 -07:00
Bryan Bell
6d0e103cde Update and expand iframe tests
Add iframe tests to their own subdirectory and add another test case
that used to trigger a fatal error. The new test case uses the
"allow-scripts" sandbox attribute to work around a script task failure
caused by the child frame sharing the same script task as the parent.
2014-09-12 11:29:14 -07:00
Gilles Leblanc
81a0d065f1 Make use of the list of Atoms in ClassSelector
Make use of the list of Atoms in the class attribute selector
(ClassSelector) in selector_matching.

Fixes #3111
2014-09-11 23:19:26 -04:00
glennw
a18633b163 Merge pull request #3283 from glennw/bg-image
Partial fix for background images on wikipedia pages.
2014-09-12 11:31:24 +10:00
Glenn Watson
61e8d02b2e Fix reftest now that the background image code clips correctly. 2014-09-12 07:49:53 +10:00
Sean McArthur
523445c865 create about_loader, handle about:blank 2014-09-11 08:55:54 -07:00
Glenn Watson
29c3819246 Partial fix for background images on wikipedia pages.
This fixes the visual artifacts seen at the top of wikipedia pages by:
 - Setting clipping rect to avoid images going outside their bounds.
 - Handling case of background-position being >= 100% such that wrapping is required.

However, the gradient is not currently visible on wikipedia. This relies on bug #1997 being fixed.
2014-09-11 16:25:04 +10:00
Patrick Walton
a3465d2962 net: Premultiply alpha in PNGs.
Closes #2857.
2014-09-10 22:08:06 -07:00
Josh Matthews
816e816329 Merge pull request #3271 from duncankl/virtualenv2-fix
Use virtualenv2 in tests/wpt/run.sh if installed
2014-09-10 15:17:43 -04:00
Glenn Watson
98caecf7ec Fix layout of Create Account / Login when rendering Wikipedia.
When calculating the preferred width for a block, accumulate
the left and right float widths of children separately, which
is then max'ed with the normal flow widths later on.

Ref bug #2554 - improves the layout of the top bar.
2014-09-10 13:51:42 +10:00
Duncan Keall
1dc399d70a Use virtualenv2 in tests/wpt/run.sh if installed 2014-09-10 15:00:18 +12:00
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00