Commit graph

381 commits

Author SHA1 Message Date
bors-servo
c2076d707e auto merge of #4660 : deokjinkim/servo/font_style, r=jdm
'oblique' font-style is not supported now.
When I checked freetype.h, same macro is used for italic and oblique.

  /*    FT_STYLE_FLAG_ITALIC ::                                            */
  /*      Indicates that a given face style is italic or oblique.          */

So, when font style is 'oblique', enable flag for italic.
With tests/html/test_italic_bold.html, it works well.
2015-01-28 11:51:53 -07:00
Peter Reid
c9cbb5b071 Handle overlapping border-radius corners
Conforming to section 5.5 (Rounded Corners/Overlapping Curves) of "CSS
Background and Borders Module Level 3", border radii on elements whose
border curves would have overlapped are uniformly scaled down to the
point that they no longer do.

http://dev.w3.org/csswg/css-backgrounds/#corner-overlap
2015-01-26 09:04:42 -05:00
Josh Matthews
95fc29fa0d Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
Glenn Watson
0f525d908d Change glutin headless mode to be a build config, as it breaks some Linux distros linking to both.
The majority of this change is simply re-arranging the code in the glutin port
so that the windowed/headless code is configured at build time rather
than runtime. There shouldn't be any functional difference as a result of this change.
2015-01-23 06:09:25 +10:00
Ms2ger
6694fd4379 Disable document-lastModified-01.html.
It has been failing in automation very frequently.
2015-01-20 10:41:20 +01:00
Deokjin Kim
ee0ce0d8f4 Merge branch 'master' of https://github.com/servo/servo into font_style 2015-01-20 11:02:41 +09:00
Deokjin Kim
80a6f0ae08 Support 'font-style: oblique'. 2015-01-20 10:48:23 +09:00
Glenn Watson
a2a74cbb4f Switch linux reftests on glutin to use osmesa software rendering. 2015-01-20 09:09:45 +10:00
Ms2ger
b6e5e823e6 Update web-platform-tests. 2015-01-19 13:06:43 +01:00
Jim Hoskins
7759358e09 Implement Element#closest
fixes #4603

- Add definition to the Element.webidl and implementation to element.rs.
- Create inclusive_ancestors helper in NodeHelpers
- Update test expectations
2015-01-17 07:29:33 -08:00
Ms2ger
29e250d4ac Update web-platform-tests and wptrunner. 2015-01-14 15:20:41 +01:00
Ms2ger
5eef78c6d8 Enable html/rendering. 2015-01-14 10:59:30 +01:00
Ms2ger
965dcda609 Update wptrunner and start running reftests. 2015-01-14 10:59:30 +01:00
bors-servo
62d1761d2a auto merge of #4598 : mttr/servo/table_percentage, r=pcwalton
Fixes #4421
2015-01-13 13:24:48 -07:00
Bruno de Oliveira Abinader
9da761fc64 Check quirks mode in {Document,Element}::getElementsByClassName
Fixes #4604.
2015-01-12 17:38:13 -04:00
bors-servo
a227faa416 auto merge of #4594 : evilpie/servo/window-proxy, r=jdm
After this patch somebody just needs to implement the new IndexedGetter (and probably frames/length) on window to fix #4589.
2015-01-12 09:45:47 -07:00
Tom Schuster
d54a45a2b1 Implement most of the important WindowProxy traps 2015-01-12 17:41:48 +01:00
Patrick Walton
97d3443003 layout: Implement mix-blend-mode per COMPOSITING § 3.4.1.
`background-blend-mode` is not yet supported because we don't support
multiple backgrounds yet.
2015-01-12 08:02:41 -08:00
Matthew Rasmus
182f1a0d01 table_wrapper.rs: Fix for percentage widths
Fixes #4421
2015-01-11 11:39:09 -08:00
Tetsuharu OHZEKI
d8fed6dbd4 Change the reason of disable /html/semantics/document-metadata/the-base-element/base_multiple.html
We haven't support the propagation of load event from iframe.
2015-01-10 04:05:46 +09:00
Patrick Walton
15d60d7ea4 layout: Implement filter per CSS-FILTERS § 5.
`blur` and `drop-shadow` are not yet supported, because the
`text-shadow` PR makes some fundamental changes to blur rendering that
are needed first.
2015-01-09 07:26:13 -08:00
Patrick Walton
53b74ae853 layout: Implement text-rendering per SVG 1.1 § 11.7.4.
Like Gecko, we treat `geometricprecision` the same as
`optimizelegibility` for now.
2015-01-08 12:32:58 -08:00
Patrick Walton
af7cf26e76 layout: Implement outline-offset per CSS-UI-3 § 5.5. 2015-01-08 10:49:54 -08:00
bors-servo
a88e668091 auto merge of #4530 : pcwalton/servo/pointer-events, r=mbrubeck
SVG-only values are not yet supported.

r? @mbrubeck
2015-01-08 10:48:55 -07:00
Patrick Walton
0627d4c599 layout: Implement word-break: break-all per CSS3-TEXT § 5.2. 2015-01-08 09:04:24 -08:00
Patrick Walton
899c9429d0 layout: Implement pointer-events: none per SVG 1.1 § 16.6.
SVG-only values are not yet supported.
2015-01-08 08:32:26 -08:00
bors-servo
df6a7959df auto merge of #4069 : guillaumebort/servo/fix/3936, r=jdm 2015-01-08 08:48:54 -07:00
Ms2ger
16c7060bc8 Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. 2015-01-08 09:58:46 -05:00
Guillaume Bort
5fe3a3e54f Fix #3936 – {Window,WorkerGlobalScope}.set{Timeout,Interval}(DOMString) 2015-01-07 11:39:15 +01:00
Patrick Walton
bf540d590a layout: Explicitly thread border box dimensions and relative offsets
through display list building.

The old `flow_origin` concept was ill-defined (sometimes the border box
plus the flow origin, sometimes including horizontal margins and
sometimes not, sometimes including relative position and sometimes not),
leading to brittleness and test failures. This commit reworks the logic
to always pass border box origins in during display list building.
2015-01-04 17:43:05 -08:00
Patrick Walton
5ea2c6dcfd layout: Paint stacking contexts' overflow areas properly.
This was making `box-shadow` not show up in many cases, in particular,
but the effects were not limited to that.
2015-01-04 17:41:59 -08:00
bors-servo
dd84ae6bfb auto merge of #4539 : jimrhoskins/servo/default-view, r=jdm
Fixes: https://github.com/servo/servo/issues/4518
2015-01-03 15:51:45 -07:00
Jim Hoskins
c10049327a Implement Document.defaultView - fixes #4518 2015-01-03 12:08:58 -05:00
Ms2ger
b51e83819d Fix obsolete format traits.
They are to be removed from the language in the next rust upgrade.
2015-01-02 19:04:18 +01:00
Shing Lyu
6df9b7fd3a Bug #1820, add the optional "type" parameter to Blob 2015-01-01 16:23:21 +08:00
Bruno de Oliveira Abinader
ab618dd9c7 Add support for named deleter
Closes #4469.
2014-12-29 12:58:48 -04:00
Ms2ger
139e91e398 Update web-platform-tests. 2014-12-28 10:39:11 +01:00
Bruno de Oliveira Abinader
3624673d2f Updated web-platform-tests results 2014-12-26 14:55:27 -04:00
Bruno de Oliveira Abinader
c5f7e553e4 Avoid duplicated tokens in AttrValue::from_serialized_tokenlist 2014-12-26 13:08:20 -04:00
bors-servo
0e6304dcf7 auto merge of #4467 : servo/servo/dataset, r=Ms2ger 2014-12-25 02:27:43 -07:00
Ms2ger
919f2217f0 Implement dummy getOwnPropertyNames and enumerate traps. 2014-12-24 17:17:40 +01:00
Adam Sunderland
674fe910c1 Add GetPropertyPriority to CSSStyleDeclaration
Tweak getPropertyPriority to match recommendations

Adding Tests for Style Priority

Use else if

Adding Content Test for GetPropertyPriority

Revert "Adding Tests for Style Priority"

This reverts commit 8666a37f833b06c3e43f27acd8a9678e94425e55.
2014-12-23 11:41:33 -06:00
Bruno de Oliveira Abinader
57c520d8cf Implement HTMLElement.dataset (fixes #2974). 2014-12-23 14:24:06 +01:00
Bruno de Oliveira Abinader
ade0b7be8e Use the custom defineProperty trap when it exists. 2014-12-23 14:22:30 +01:00
Bruno de Oliveira Abinader
c82eb3b1a4 Call the NamedGetter method from the get trap in proxy bindings. 2014-12-23 13:02:52 +01:00
Ms2ger
a2521c7e01 Add a test that wptrunner fails when it should. 2014-12-23 11:22:10 +01:00
bors-servo
14df96d772 auto merge of #4465 : servo/servo/revert-wpt, r=Ms2ger 2014-12-23 02:51:46 -07:00
Ms2ger
c2e4e715ae Revert "Update wptrunner and start running reftests."
This reverts commit 1d68ee689f.

Fixes #4462.
2014-12-23 09:55:12 +01:00
Ms2ger
dc63735ca7 Revert PR #4038 for causing WPT failures. 2014-12-23 09:53:12 +01:00
Ms2ger
01e3449f14 Revert "Enable html/rendering."
This reverts commit dde0702a89.
2014-12-23 09:29:16 +01:00