Simon Sapin
447cc64a40
Remove some trailing whitespace
2014-01-03 15:11:17 +00:00
Simon Sapin
5372212161
Refactor FontStyle and really fix #193
...
* Using .connect(", ") just to use .split(",") later is silly.
Keep it a vector.
* The 'font-style' property can not be both italic and oblique.
Use an enum instead of two booleans.
2014-01-03 15:11:17 +00:00
bors-servo
da14203f91
auto merge of #1454 : deokjinkim/servo/font_style, r=jdm
...
Add oblique style to pattern to find proper font.
2014-01-03 06:52:30 -08:00
bors-servo
f4d7e7d339
auto merge of #1453 : SimonSapin/servo/dead-code, r=larsbergstrom
...
Turns out it wasn’t actually used anymore.
2014-01-03 06:31:34 -08:00
bors-servo
2fa4699274
auto merge of #1449 : zmike/servo/master, r=larsbergstrom
...
this fixes issue #522 (maybe?) by not cleaning/resetting submodules which are dirty. it does not block completion of configure.
2014-01-03 06:04:36 -08:00
Deokjin Kim
ddcbb3f038
Support oblique(font-style) for linux and android
...
Add oblique style to pattern to find proper font.
2014-01-03 21:06:55 +09:00
bors-servo
528d362d09
auto merge of #1446 : sammykim/servo/load_url, r=SimonSapin
...
1. We must remove trailing whitespace. It makes crash.
2014-01-03 02:25:38 -08:00
Simon Sapin
facac01524
Remove a dead function.
...
Turns out it wasn’t actually used anymore.
2014-01-03 10:13:08 +00:00
bors-servo
7203f78cb0
auto merge of #1451 : ksh8281/servo/fix_unit_of_clientrect, r=jdm
...
this pr fixes #1076
2014-01-03 01:46:37 -08:00
bors-servo
cbc82e8361
auto merge of #1452 : deokjinkim/servo/font_weight, r=jdm
...
Currently, hard coded value(FontWeight300) is used for font-weight property.
To display it properly, use parsed CSS font-weight value.
2014-01-03 00:40:43 -08:00
patrick kim
e0a04fff46
fix unit of clientrect &
...
add width,height test in src/test/html/content/test_getBoundingClientRect.html
2014-01-03 17:25:46 +09:00
Deokjin Kim
5756680d90
Fix font-weight propery
...
Currently, hard coded value(FontWeight300) is used for font-weight property.
To display it properly, use parsed CSS font-weight value.
2014-01-03 17:18:09 +09:00
Junyoung Cho
b065f21c1c
Refactor self.recomposite value update
2014-01-03 16:21:27 +09:00
Sangeun Kim
586de9ba8e
Remove trailing whitespace with URL in make_url at once
2014-01-03 16:13:29 +09:00
Simon Sapin
daebaf1eea
Fix parsing of the 'content' property.
...
Conflicts:
src/components/style/properties.rs.mako
2014-01-03 13:16:42 +09:00
aydin.kim
f2f90842a3
fix .gitmodules to use https
2014-01-03 09:51:33 +09:00
discomfitor
12cee06388
make configure not clobber modified submodules at all
...
this fixes issue #522 (maybe?) by not cleaning/resetting submodules which are dirty. it does not block completion of configure.
2014-01-02 19:17:32 -05:00
aydin.kim
269d300921
add a minor changes & trigger rust rebuild
2014-01-03 08:43:18 +09:00
Junyoung Cho
755a158131
Fix crash on executing URL with hashtag(local bookmark)
2014-01-02 10:32:51 +09:00
bors-servo
2b487ed3e9
auto merge of #1439 : Ms2ger/servo/reflection-methods, r=jdm
2014-01-01 13:19:16 -08:00
Ms2ger
886ab020d8
Use string reflection methods for HTMLIFrameElement.sandbox.
2014-01-01 17:24:56 +01:00
aydin.kim
28757e2257
update gfx font stuffs for android
2013-12-31 09:59:02 +09:00
aydin.kim
b4943c00b5
update submodules
2013-12-31 09:59:02 +09:00
aydin.kim
32afea3717
update glut_windowing for language change
2013-12-31 09:59:02 +09:00
aydin.kim
16b56df45d
Servo-Android App packaging works
2013-12-31 09:58:55 +09:00
aydin.kim
3fe12748e0
add rust-egl to submodule
2013-12-30 09:58:45 +09:00
aydin.kim
318d06f38b
modify way to call main on android
2013-12-30 09:58:03 +09:00
aydin.kim
230bfeb0cd
teporarily rollback of rust(because of uv error, we can not enter into amain. io errors are happened)
2013-12-30 09:58:03 +09:00
aydin.kim
8d85f71573
add android graphic surface layer using EGL extensions
2013-12-30 09:58:03 +09:00
aydin.kim
a90d12eaee
fix build error on android(libuv 3.0)
2013-12-30 09:58:03 +09:00
bors-servo
be8ed32562
auto merge of #1441 : metajack/servo/unrustpkg, r=metajack,me
2013-12-26 23:01:11 -08:00
Jack Moffitt
0c62b99559
Build with make instead of rustpkg.
2013-12-26 23:57:58 -07:00
Ms2ger
6e6d45ca26
Introduce methods to simplify implementing reflecting attributes.
2013-12-24 10:24:35 +01:00
bors-servo
cb336a1831
auto merge of #1438 : Ms2ger/servo/cleanup-get_attribute, r=jdm
...
Passing these around as strings is an anti-pattern, IMO.
2013-12-23 10:49:05 -08:00
Ms2ger
95913d1fed
Pass a Namespace to Element::get_attr.
2013-12-23 13:03:52 +01:00
Ms2ger
e64ee3557e
Pass a Namespace to Element::get_attribute.
2013-12-23 12:21:18 +01:00
bors-servo
acdc0e1afa
auto merge of #1436 : SimonSapin/servo/font-size-em, r=kmcallister
...
Font-based units in the font-size property refer to the font-size of the parent, not itself.
2013-12-20 15:31:06 -08:00
Simon Sapin
7049f2b165
Add a test for percentages in font-size
2013-12-20 17:01:28 +01:00
bors-servo
34746fe974
auto merge of #1431 : brunoabinader/servo/document-body, r=jdm
...
Implement Document's 'body' attribute (getter and setter). Proper
implementation of setter requires Node::ReplaceChild(), which is
currently a stub and will be done on a later step.
This patch is for:
https://github.com/mozilla/servo/issues/1428
2013-12-20 07:28:07 -08:00
Bruno de Oliveira Abinader
ce434dfb3e
Implement Document's 'body' attribute
...
Implement Document's 'body' attribute (getter and setter). Proper
implementation of setter requires Node::ReplaceChild(), which is
currently a stub and will be done on a later step.
This patch is for:
https://github.com/mozilla/servo/issues/1428
2013-12-20 10:58:03 -04:00
Simon Sapin
2c179cdce3
Fix #1435 : em units in font-size
...
Font-based units in the font-size property refer to the font-size
of the parent, not itself.
2013-12-20 13:01:13 +01:00
bors-servo
824c7ac613
auto merge of #1424 : pcwalton/servo/harden-layout, r=pcwalton
...
This changeset gets rid of the `FooView` phantom type in favor of a more brute force approach that just whitelists methods that layout is allowed to call. The set is surprisingly small now that layout isn't going to the DOM for much.
If this approach turns out not to scale, we can do something fancier, but I'd rather just have it be safe and secure first and then refactor later for programmer happiness.
r? @kmcallister
2013-12-17 18:16:05 -08:00
Patrick Walton
436b1e891d
script: Eliminate the phantom type in Node
, as it is no longer needed
...
for enforcing layout memory safety.
2013-12-17 18:07:41 -08:00
Patrick Walton
8f886e599e
layout: Stop exposing raw Element
types to layout as well.
...
This should make layout memory-safe as is, though we will need to do
more stuff for incremental reflow and parallelism.
2013-12-17 18:07:41 -08:00
Patrick Walton
9e2b63ddd3
layout: Move the LayoutNode
wrapper from script into layout.
2013-12-17 18:07:41 -08:00
Patrick Walton
c506e52c7c
layout: Add a lifetime to LayoutNode
to prevent layout from stuffing
...
them into evil places.
2013-12-17 18:07:41 -08:00
Patrick Walton
ee9873bdb5
script: Harden layout a bit more by mostly prohibiting it from seeing
...
`AbstractNode` at all.
It can still see it by calling `with_element` for now, although that
needs to be fixed.
2013-12-17 18:07:12 -08:00
Patrick Walton
be69a503fe
script: Eliminate the phantom type in favor of just whitelisting methods
...
that layout can safely call.
This is simpler. Currently, the set of methods is not safe, but I plan
to lock it down more soon.
2013-12-17 18:07:12 -08:00
bors-servo
da4cff034b
auto merge of #1429 : pradeep90/servo/master, r=pcwalton
...
The problems that were caused because of Yellow River seem to be fixed.
(See #1319 ).
2013-12-17 17:13:07 -08:00
S Pradeep Kumar
f9c7c485ea
Re-enable parallel selector matching.
...
The problems that were caused because of Yellow River seem to be fixed.
(See #1319 ).
2013-12-18 09:55:28 +09:00