Ms2ger
4bf9bece92
Add test.
2013-12-05 16:14:09 +01:00
Ms2ger
29a7405b4e
Report exceptions to JS when the DOM implementation fails.
...
As a bonus, adds some debugging statements.
2013-12-05 16:14:02 +01:00
Patrick Walton
c5db2ab516
Merge pull request #1337 from brunoabinader/acid1_fix
...
Acid1 fix (fixed FloatFlow refactory)
2013-12-04 18:58:34 -08:00
Bruno de Oliveira Abinader
10db916137
Acid1 fix (fixed FloatFlow refactory)
...
While doing the FloatFlow refactory, I forgot to transpose a variable
assignment in assign_widths(). Also did a minor change in
bubble_widths() to avoid creating temporary variables in an iteration
loop.
This patch is for:
https://github.com/mozilla/servo/issues/1335
2013-12-04 17:17:14 -04:00
bors-servo
a92d430007
auto merge of #1331 : SimonSapin/servo/visibility, r=pcwalton
...
http://www.w3.org/TR/CSS21/visufx.html#visibility
`visibility: collapse` is not supported yet because tables are not, either.
This fixes #1329 .
2013-12-04 10:07:06 -08:00
bors-servo
7222048567
auto merge of #1330 : kmcallister/servo/http_loader, r=pcwalton
...
Serving suggestion: `git show -w`
Fixes #1325 .
Some of the control-flow reorganization is for clarity rather than out of necessity.
2013-12-04 09:43:24 -08:00
Simon Sapin
7a4c809436
CSS: Add the 'visibility' property.
...
http://www.w3.org/TR/CSS21/visufx.html#visibility
'visibility: collapse' is not supported yet because tables are not, either.
This fixes #1329 .
2013-12-04 10:58:27 +00:00
Keegan McAllister
5763937ecd
http_loader: Don't tail-call for redirects
...
Serving suggestion: git show -w
Fixes #1325 .
Some of the control-flow reorganization is for clarity rather than out of
necessity.
2013-12-03 21:25:11 -08:00
bors-servo
b26fe9a430
auto merge of #1321 : brunoabinader/servo/remove-floatflow, r=pcwalton
...
Removes 'FloatFlow' in favor of FloatBlockFlow, which is contained
inside BlockFlow in a 'has-a' relationship. This avoids a bunch of
duplicated code.
This patch is for:
https://github.com/mozilla/servo/issues/1281
2013-12-03 15:31:15 -08:00
bors-servo
148d1720e5
auto merge of #1328 : kmcallister/servo/properties, r=jdm
...
The bug is mozilla/rust#10683 and there's no fix yet, plus it would take us a while to upgrade Rust anyway.
Fixes #1258 .
2013-12-03 13:10:14 -08:00
Keegan McAllister
48ce016209
Work around Rust bug causing nondeterministic CSS parse failure
...
The bug is mozilla/rust#10683 and there's no fix yet, plus it
would take us a while to upgrade Rust anyway.
Fixes #1258 .
2013-12-03 12:57:51 -08:00
Bruno de Oliveira Abinader
ac45d70a4a
Remove 'FloatFlow'
...
Removes 'FloatFlow' in favor of FloatBlockFlow, which is cointained
inside BlockFlow in a 'has-a' relationship. This avoids a bunch of
duplicated code.
This patch is for:
https://github.com/mozilla/servo/issues/1281
2013-12-03 14:36:31 -04:00
bors-servo
a0c6075b4d
auto merge of #1326 : brunoabinader/servo/rename-flowcontext, r=pcwalton
...
This patch is for:
https://github.com/mozilla/servo/issues/1282
2013-12-03 09:16:18 -08:00
bors-servo
b5645737da
auto merge of #1311 : pradeep90/servo/rule-hash-optimize, r=pcwalton
...
Commit for #1301
2013-12-03 08:50:30 -08:00
bors-servo
529c21bb65
auto merge of #1252 : jdm/servo/layoutassert, r=jdm,metajack
...
...224.
2013-12-02 16:32:32 -08:00
Josh Matthews
b502f03fd6
Add forgotten test for Element.attributes.
2013-12-02 19:25:17 -05:00
Josh Matthews
f9f9c42ab7
Ensure that it's safe to modify the DOM node pointers before doing so. Fixes #1224 .
2013-12-02 19:25:11 -05:00
Bruno de Oliveira Abinader
bf277e634b
s/FlowContext/Flow
...
This patch is for:
https://github.com/mozilla/servo/issues/1282
2013-12-02 16:14:06 -04:00
bors-servo
0c4b10cc2c
auto merge of #1262 : june0cho/servo/acid2_local_bookmark, r=jdm
...
To test this, execute the followings:
test_local_bookmark.html#text1
test_local_bookmark.html#text2
test_local_bookmark.html#text3
test_local_bookmark.html#top
test_local_bookmark.html#h3
test_local_bookmark.html#num
acid2.html#top
- The link from acid2.html works now. ( `<a href="#top">`)
Thanks to @metajack!
2013-11-30 14:37:11 -08:00
bors-servo
123fa47155
auto merge of #1323 : Ms2ger/servo/warnings, r=SimonSapin
2013-11-30 11:22:14 -08:00
Ms2ger
b8a3f8ad5e
Remove unused imports.
2013-11-30 19:50:20 +01:00
june0cho
266b551aa4
Implement local bookmark(hashtag) for Acid2. With @joonwonlee
...
Support hashtag through link (e.g. <a href="#top">)
2013-12-01 00:36:11 +09:00
june0cho
c7ad220178
Add a test file for local bookmark.(#text1, #text2, #text3, #top, #h3, #num)
2013-11-30 23:21:25 +09:00
bors-servo
93a62f4f47
auto merge of #1322 : jdm/servo/renderborder, r=jdm
...
Implemented a border which was the solid type.
Because of not support css pseudo element(:before, :after), content in css property and base64, So we couldn't test Acid2(http://www.webstandards.org/files/acid2/test.html ).
Rebase of #1276 .
2013-11-29 17:01:17 -08:00
HyunJune Kim
409699f7ae
Render border solid-style properly
2013-11-29 19:57:03 -05:00
Sangeun Kim
34418ec957
Add diamond test code
2013-11-29 19:57:03 -05:00
bors-servo
7dbabdd9e4
auto merge of #1318 : therealglazou/servo/therealglazou/nth-pseudos, r=SimonSapin
...
Implement :nth-child, :nth-last-child, :nth-of-type, :nth-last-of-type, :first-of-type, :last-of-type and :only-of-type Selectors Level 3 pseudo-classes. Reftests included.
2013-11-29 03:22:16 -08:00
Daniel Glazman
6508bff1cd
:nth-child and friends, use div_rem result instead of recomputing it
2013-11-29 12:16:53 +01:00
Daniel Glazman
eb76ea76db
:nth-child and friends, changes in response to SimonSapin's review
2013-11-29 09:58:11 +01:00
bors-servo
b867e54dd4
auto merge of #1298 : recrack/servo/overflow_property, r=metajack
...
Impl #1290
@jaeminMoon @ksh8281
Thanks @metajack
2013-11-28 21:46:51 -08:00
Daniel Glazman
991d4d8a3c
Implement :nth-child, :nth-last-child, :nth-of-type, :nth-last-of-type, :first-of-type, :last-of-type and :only-of-type Selectors Level 3 pseudo-classes
2013-11-28 15:19:43 +01:00
bors-servo
238741f646
auto merge of #1315 : pcwalton/servo/disable-parallel, r=metajack
...
To verify, turn ON optimizations and go to:
http://en.wikipedia.org/wiki/Yellow_River
r? @metajack
2013-11-26 16:49:16 -08:00
Patrick Walton
362c2718f7
main: Disable parallel selector matching due to races.
...
To verify, turn ON optimizations and go to:
http://en.wikipedia.org/wiki/Yellow_River
2013-11-26 16:44:03 -08:00
bors-servo
a76f761ed3
auto merge of #1313 : pcwalton/servo/parallel-layout, r=larsbergstrom
...
This is one small step toward parallel layout.
r? @larsbergstrom
2013-11-26 12:26:18 -08:00
Patrick Walton
c85953deeb
net: De-GC the image cache stuff.
...
This is a step on the way toward parallel layout.
2013-11-26 12:10:40 -08:00
Patrick Walton
7eb4097dc9
layout: Make the LocalImageCache
on_image_available
callback not use
...
`@`.
This is one small step toward parallel layout.
2013-11-26 11:55:15 -08:00
patrick kim
9b4b414abe
fix ContentBoxQuery
2013-11-26 11:49:44 +09:00
sh8281.kim
af80c57029
modify to displaylist to tree & add cliping
2013-11-26 11:49:44 +09:00
Jaemin Moon
b42f9eec48
push/pop clip
2013-11-26 11:49:44 +09:00
Youngmin Yoo
9d0958f91c
Add overflow property
2013-11-26 11:49:37 +09:00
bors-servo
0d15310db1
auto merge of #1306 : kmcallister/servo/cleanup, r=jdm
2013-11-25 14:37:06 -08:00
bors-servo
b4c0020492
auto merge of #1307 : pcwalton/servo/disable-manage-submodules, r=kmcallister
...
r? @kmcallister
2013-11-25 14:16:19 -08:00
Patrick Walton
be357f37fe
mk: Don't error out on dirty submodules if --disable-manage-submodules
is on
2013-11-25 14:12:09 -08:00
bors-servo
bf146fb8c4
auto merge of #1305 : pradeep90/servo/rule-hash-optimize, r=kmcallister
...
Changing as per comment in #1274
2013-11-25 13:55:12 -08:00
Keegan McAllister
5157eac238
Warning police
...
And fix some formatting.
2013-11-25 13:29:34 -08:00
Keegan McAllister
3f1051022a
rustpkg.mk: Defer shell commands until after 'define' expansion
...
This way the uname -s check will prevent us from invoking nonexistent sw_vers
on Linux.
2013-11-25 13:16:26 -08:00
S Pradeep Kumar
e0c33fa88c
Make PropertyDeclarationBlock have Arcs.
2013-11-25 14:56:51 +09:00
S Pradeep Kumar
318a1a380f
Use iter().map() instead of for loop.
2013-11-25 12:08:41 +09:00
bors-servo
f6646e17bf
auto merge of #1270 : evilpie/servo/url, r=jdm
...
I wasn't sure how to store @window in Location, so I just made it use @Page for now. I was going to implement stringifier, but sadly some of the webidl stuff is like 1 year out of sync.
2013-11-24 15:52:04 -08:00
bors-servo
010b8cd4c3
auto merge of #1210 : ibnc/servo/resizing_background_color, r=jdm
...
fixes #140
This shouldn't be merged until the appropriate change is made in rust layers (https://github.com/mozilla-servo/rust-layers/pull/37 ). I'm making a pull request anyway to start getting some feedback.
2013-11-24 15:31:09 -08:00