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
acedb16670
Add a layout debug module. This outputs a trace of the layout process to a JSON
...
file which can be viewed in an external tool. It provides a timelapse view of
how the flow tree and fragments changed during the layout process, which makes
it easier to debug layout bugs.
2014-09-04 09:15:03 +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
Manish Goregaokar
343c3124b2
Merge pull request #3184 from Ms2ger/disable-workers-same-origin-test
...
Disable same-origin.html for intermittent failures (fixes #3180 ).; r=jgraham
2014-08-29 18:06:14 +05:30
Ms2ger
e0a36f3292
Disable same-origin.html for intermittent failures ( fixes #3180 ).
...
We don't currently implement the same-origin restriction at all, so there's
little point in running this test.
2014-08-29 12:22:20 +02:00
Simon Sapin
1f2c5c0bcb
Merge pull request #3178 from SimonSapin/canvas-crate
...
Add a canvas create, break script’s dependency on gfx.
2014-08-29 09:14:07 +01:00
Manish Goregaokar
ad6d22b2bf
Merge pull request #3141 from Manishearth/fetch-stuff
...
Some more Fetch and CORS Cache stuff; r=jdm
2014-08-29 12:43:01 +05:30
Chris Paris
b2b3fbc6e0
Support callback return types in codegen
2014-08-28 17:03:34 -10:00
Simon Sapin
aea6f849a0
Merge pull request #3170 from SimonSapin/trait-object-transmute
...
Transmute std::raw::TraitObject rather than (some) custom tuples/structs
2014-08-29 00:35:55 +01:00
Matt Brubeck
49765d2bf5
Merge pull request #3147 from mbrubeck/tagname-upper
...
Uppercase element.tagName for HTML elements only r=Ms2ger
2014-08-28 15:27:45 -07:00
Matt Brubeck
e01569834c
Uppercase element.tagName for HTML elements only
...
Fixes #3146
2014-08-28 15:25:04 -07:00
Bryan Bell
69a2dbc868
Remove RenderListener::set_layer_clip_rect
...
It is currently unused.
2014-08-28 11:35:15 -07:00
Ms2ger
9060772af9
Merge pull request #3177 from Ms2ger/ConstantSpec
...
Introduce ConstantSpec::get_value; r=jdm
2014-08-28 19:19:41 +02:00
Ms2ger
f925343552
Introduce ConstantSpec::get_value.
...
I'll need it for cross-origin wrappers as well.
2014-08-28 19:19:22 +02:00
Simon Sapin
aa1a5c479a
Add a canvas create, break script’s dependency on gfx.
...
The build time on my laptop after touching gfx goes from 1m37s ot 46s.
2014-08-28 17:15:39 +01:00
Simon Sapin
99909de826
Transmute std::raw::TraitObject rather than (some) custom tuples/structs.
...
Context:
http://www.mail-archive.com/dev-servo@lists.mozilla.org/msg00867.html
This fixes the known issues, but there might be other places
where we do "bad" transmutes that I haven’t discovered.
2014-08-28 16:18:04 +01:00
Ms2ger
14d596c1bc
Merge pull request #3175 from Ms2ger/propertyhooks
...
Introduce the NativePropertyHooks struct; r=jdm
2014-08-28 17:12:12 +02:00