Commit graph

6066 commits

Author SHA1 Message Date
Ms2ger
0d202b6bda Merge pull request #3226 from Ms2ger/3209-disable
Disable intermittently failing Document-characterSet-normalization.html (fixes #3209); r=jdm
2014-09-07 00:13:25 +02:00
Josh Matthews
572d33fa14 Merge pull request #3210 from seanmonstar/private-node-type-id
make Node.type_id field private, access through type_id()
2014-09-06 16:46:07 -04:00
Ms2ger
3fa292d391 Disable intermittently failing Document-characterSet-normalization.html (fixes #3209).
As we currently don't support anything but utf-8, this is not a particularly
useful test to run.
2014-09-06 22:02:42 +02:00
Ms2ger
7cf0da6b8a Merge pull request #3225 from Ms2ger/note-autoconf
Add a note about autoconf 2.13; r=Manishearth
2014-09-06 13:01:03 +02:00
Ms2ger
84e6ec18d3 Add a note about autoconf 2.13.
Many people seem to have this question.
2014-09-06 13:00:33 +02:00
Manish Goregaokar
cf094d09bd Merge pull request #3224 from duncankl/readme-arch-linux-setup
Add prerequisites for Arch Linux to the readme; r=Manishearth
2014-09-06 14:47:27 +05:30
Ms2ger
e38064c84a Merge pull request #3222 from Ms2ger/img-reflection
Fix HTMLImageElement setters; r=jdm
2014-09-06 09:01:18 +02:00
Duncan Keall
6eb1bb7ab1 Add prerequisites for Arch Linux to the readme. 2014-09-06 18:05:18 +12:00
Sean McArthur
375e475f99 make Node.type_id field private 2014-09-05 12:22:56 -07:00
Ms2ger
9cf2085823 Fix HTMLImageElement setters.
These would crash because the functions they call assert that they receive
lower-case names.

Fixing the crash allows reflection-embedded.html to finish successfully.
2014-09-05 17:45:48 +02:00
Josh Matthews
64a9075535 Merge pull request #3217 from glennw/layout-fixes
Fix inline size bubbling with fixed width block. Improve intrinsic inline size calculation for text fragments.
2014-09-05 10:05:14 -04:00
Manish Goregaokar
dfe4a707d4 Remove old submodule 2014-09-05 19:21:56 +05:30
Glenn Watson
4cb9f32427 Fix inline size bubbling with fixed width block. Improve intrinsic inline size calculation for text fragments.
These two fixes are related to the wikipedia metabug #2554.

They don't make the wikipedia page look better (they cause a slight regression in the top caption table), but they are prerequisites for fixing some of the other layout issues that remain.

Added reftests for each of the three cases I have come across that this patch solves.
2014-09-05 16:41:13 +10:00
Josh Matthews
94f7f46dd8 Merge pull request #3164 from cgaebel/layout-rpc
Avoid using message passing for simple JS -> Layout "rpc-like" queries.
2014-09-04 22:14:18 -04:00
Josh Matthews
b940828a8a Merge pull request #3207 from Ms2ger/347-3065-typeerror
Throw TypeErrors instead of uncatcheable exceptions in CodegenRust.py (fixes #347, #3065).
2014-09-04 17:16:44 -04:00
Clark Gaebel
dafd0b652d Added a fast no-message RPC interface to the layout task. 2014-09-04 14:10:07 -07:00
Pierre Louis Aublin
cf734b01b7 Throw TypeErrors instead of uncatcheable exceptions in CodegenRust.py (fixes #347, #3065). 2014-09-04 14:45:24 +02:00
Ms2ger
ff97135ab9 Merge pull request #3204 from Ms2ger/2972-3127-lastModified
Implement document.lastModified (fixes #2972, #3127); r=jdm+Manishearth
2014-09-04 13:53:58 +02:00
MechaXL
e2bfdb30a0 Implement document.lastModified (fixes #2972, #3127). 2014-09-04 13:44:02 +02:00
Ms2ger
f7877008d2 Merge pull request #3205 from Ms2ger/parse-integers
Parse canvas's width and height attributes according to the specification; r=jdm
2014-09-04 09:20:54 +02:00
glennw
941d9402af Merge pull request #3201 from glennw/fc-platform-fixup
Unify fontconfig source code so that one branch builds on both linux + android
2014-09-04 15:01:14 +10:00
Glenn Watson
68446ecb81 Unify fontconfig source code so that one branch builds on both linux + android. 2014-09-04 07:21:41 +10:00
Ms2ger
2d50e33902 Handle failure to parse the value of the width and height attributes on canvas elements (fixes #3200).
The remaining failures are due to the tests's use of getComputedStyle.
2014-09-03 20:14:27 +02:00
Ms2ger
e1b5b5183f Implement the rules for parsing integers as defined by HTML, and use them for canvas. 2014-09-03 19:48:07 +02:00
Ms2ger
940c013176 Merge pull request #3202 from Ms2ger/node-priv-members
Make some of Node's members private; r=Manishearth
2014-09-03 18:02:18 +02:00
Patrick Walton
603f7c9770 Merge pull request #3182 from glennw/inline-text-border
Add support for borders on inline elements
2014-09-03 08:16:53 -07:00
Ms2ger
ce9e5ae213 Make some of Node's members private. 2014-09-03 13:02:17 +02:00
Patrick Walton
ec6f83077b Merge pull request #3195 from glennw/image-format
Fix task failure when loading wikipedia.
2014-09-03 00:35:20 -07:00
Glenn Watson
e4e1c71d48 Add support for borders on inline elements.
Fix ahem reftests on mac, by disabling text AA in reftest mode.

Also fix precision issues in font metrics to correct height
and baseline calculations.
2014-09-03 07:16:17 +10:00
Josh Matthews
cb559efd4e Merge pull request #3173 from mrobinson/typed-units-1
Start using more typed units in the compositor
2014-09-02 15:14:37 -04:00
Josh Matthews
bb79f49bfc Merge pull request #3196 from Ms2ger/script
Move the script type and language checks into HTMLScriptElement.
2014-09-02 04:13:50 -04:00
Ms2ger
ee39685051 Move the script type and language checks into HTMLScriptElement.
This is IMO a more sensible place for them to live, and prepares for the
demise of hubbub_html_parser.rs, as we move to html5ever.
2014-09-02 09:00:41 +02:00
Glenn Watson
78ef16bfae Fix task failure when loading wikipedia.
There is still an issue with alpha display, so there is
likely a problem elsewhere, but this at least allows the
page to load for now (ref #2554).
2014-09-02 15:58:38 +10:00
glennw
a5965442b5 Merge pull request #3194 from glennw/android-build
Revert syntax extension for now, as it causes issues with cross compiling for android.
2014-09-02 09:20:11 +10:00
Glenn Watson
c0d08a6c2e Revert "Move PropertyBitField to a syntax extension."
This reverts commit d6002a0a50.
2014-09-02 07:58:17 +10:00
Glenn Watson
cc03e4f9e2 Revert "fixup! Move PropertyBitField to a syntax extension."
This reverts commit 653f257029.
2014-09-02 07:58:08 +10:00
Glenn Watson
a8b7b193f5 Revert "Add tests for the bit_struct! macro."
This reverts commit dd44a7d24a.
2014-09-02 07:57:57 +10:00
glennw
9284e44328 Merge pull request #3192 from glennw/disable-android-ssl
Disable ssl on android as openssl needs to be added to build system.
2014-09-01 13:03:16 +10:00
Glenn Watson
4952bee0f7 Disable ssl on android as openssl needs to be added to build system. 2014-09-01 11:27:13 +10:00
Manish Goregaokar
b79432d98e Merge pull request #3189 from gilles-leblanc/issue-3157
Share code between HTMLScriptElement:Text and Node:GetTextContent; r=Manishearth
2014-08-31 20:11:05 +05:30
Gilles Leblanc
d12243df0d Share code between HTMLScriptElement:Text and Node:GetTextContent
Added a function in Node called collect_text_contents which is called
from both places.

Fixes #3157
2014-08-30 20:34:08 -04:00
Ms2ger
8af758f591 Merge pull request #3186 from wenderen/Window.frames
implement window.frames; r=Manishearth
2014-08-30 09:12:17 +02:00
Rohan Prinja
fd09df71a4 implement window.frames 2014-08-30 02:25:23 +05:30
Josh Matthews
567d219342 Merge pull request #3174 from Aaron1011/attrlist-namednodemap
Rename AttrList to NamedNodeMap
2014-08-29 16:15:59 -04:00
Martin Robinson
678ab5c963 Merge pull request #3179 from mrobinson/iframes
Remove RenderListener::set_layer_clip_rect
2014-08-29 12:53:54 -07:00
Aaron Hill
3a56a69581 Rename AttrList to NamedNodeMap
This fixes issue #3135
2014-08-29 14:53:01 -04:00
Simon Sapin
db05417a25 Merge pull request #3181 from SimonSapin/sideways-text
Sideways text
2014-08-29 17:51:26 +01:00
Simon Sapin
80704aeabd Implement sideways text. 2014-08-29 17:50:56 +01:00
Simon Sapin
db80b76d0a Make text decorations be independent display items.
The goal it to avoid having too much layout logic (which gets more complex in vertical text) in gfx code.
2014-08-29 17:50:51 +01:00
Josh Matthews
e40f54bfef Merge pull request #3183 from ChrisParis/callback-return
Support callback return types in codegen
2014-08-29 11:08:49 -04:00