Kagami Sascha Rosylight
2660f35925
Remove [PrimaryGlobal]
2019-10-03 14:25:23 +09:00
Kagami Sascha Rosylight
d6c58b8226
Migrate to IDL mixin syntax
2019-10-01 18:45:26 +09:00
Kagami Sascha Rosylight
01151274f1
Require default dictionary value for optional dicts
2019-07-12 12:16:09 +09:00
Fernando Jiménez Moreno
ffdc9d255f
Expose Element.AttachShadow under dom.shadowdom.enabled pref
2019-04-26 10:17:44 +02:00
Manish Goregaokar
7b48df53a1
Update WebIDL.py to 4166cae81546
...
4166cae815
Pulls in changes from https://bugzilla.mozilla.org/show_bug.cgi?id=1359269
2019-03-04 14:03:31 +05:30
Jan Andre Ikenmeyer
6b0c111126
Update MPL license to https (part 2)
2018-11-19 14:46:57 +01:00
Jonathan Kingston
a271c615f7
Implement support for Element.toggleAttribute
2018-06-21 02:06:32 +01:00
Connor Brewster
9c6292f294
Annotate insertAdjacentHTML with CEReactions
2017-08-18 13:59:53 -05:00
Connor Brewster
2460997ee1
Add CEReactions where needed
2017-07-18 12:22:20 -06:00
Jack Moffitt
853c91781e
Remove DOMRectList and use sequences instead.
...
DOMRectList was removed last back in 2015. See
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26200 for details.
2017-04-19 07:11:58 -06:00
Raghav
eb401ee2ca
Update links to DOM Parsing specification
...
Changed links from https://domparsing.spec.whatwg.org/ to
https://w3c.github.io/DOM-Parsing/ .
2016-12-28 21:45:53 +05:30
Jansen Jan
55f0e56224
Add support for fullscreen #10102
2016-12-09 11:45:50 +01:00
Scott Trinh
ab0ddf9040
Partial fix for 12415
2016-10-17 16:08:07 -04:00
Glenn Watson
cdb69d4423
Add OSMesa headless mode, run WPT against Webrender, update tests.
2016-09-28 11:57:33 +10:00
Steve Melia
a9de84ab49
Issue 12343: Add pref-gated methods and test for activatable element states
2016-08-08 22:20:41 +01:00
Ms2ger
ed743bb50c
Explicitly expose everything everywhere.
2016-07-12 13:06:48 +02:00
Patrick Walton
041cfe6d0a
script: When using WebRender, keep the DOM-side scroll positions for
...
elements with `overflow: scroll` up to date, and take them into account
when doing hit testing.
Closes #11648 .
2016-06-10 18:43:04 -07:00
Guillaume Gomez
8c572085c7
Add Element::InsertAdjacentHTML
2016-06-08 15:08:53 +02:00
Anthony Ramine
72dae53682
Cleanup Element interface
2016-06-03 16:38:37 +02:00
Nazım Can Altınova
47f43d45a7
Implement Element::hasAttributes
2016-04-22 15:18:08 +03:00
edunham
7ae63b1213
Remove modelines everywhere but tests/wpt
2016-04-20 10:49:09 -07:00
Zhen Zhang
11b12f677b
element scroll setters
2016-04-20 08:29:17 +08:00
Zhen Zhang
fefdaf76de
Implement ScrollTop and ScrollLeft getters:
...
Add new compositor message to get scroll_offset;
Add new layout query for computed value of overflow-x/y;
Implement layer_id method for ThreadSafeLayoutNode;
Add new layout query for layer_id;
Implement script interface for getting scrollTop and scrollLeft, as well as relavant helper functions.
2016-04-19 12:27:35 +08:00
Guillaume Gomez
c05a9b039e
Add insert_adjacent methods into Element
2016-03-27 18:32:55 +02:00
Daniel Robertson
16d2778ece
Add scrollWidth/Height to element interface
...
Add the scrollWidth and scrollHeight extensions to the element
interface.
2016-03-11 18:22:16 +00:00
Dominik Menzi
b29b2d6d73
Implement value for DOMTokenList
2016-02-29 16:07:03 +01:00
Nick Fitzgerald
d28c9a1588
Implement removeAttributeNode
...
This commit implement removeAttributeNode, as described here:
https://dom.spec.whatwg.org/#dom-element-removeattributenode
See also #8724 and #8068 .
2016-02-26 21:18:24 +01:00
Anthony Ramine
b8ae5897f1
Implement Element.getAttributeNames
2016-02-26 19:15:11 +01:00
Mathieu Hordesseaux
322b120f8a
Implement SetNamedItem, SetNamedItemNS, SetAttributeNode and SetAttributeNodeNS
2016-01-28 12:35:44 +01:00
Tetsuharu OHZEKI
04967ed97e
script: Element.webkitMatchesSelector()
...
spec:
9ac9c15486
2015-10-25 15:27:20 +09:00
KALPESH KRISHNA
3971b8ce27
Implementing getAttributeNode() and similar methods.
2015-10-19 16:14:43 +05:30
Anthony Ramine
49219baab8
Annotate many DOM attribute and methods with [Constant] and [Pure]
2015-09-19 16:03:13 +02:00
Anthony Ramine
d93c8da7d7
Fix Element missing attributes
...
Attributes classList and attributes are [SameObject].
2015-09-11 02:57:24 +02:00
bors-servo
e0bd80f807
Auto merge of #6662 - tschneidereit:client-geometry, r=glennw,pcwatson
...
Implement Element.client{Top,Left,Width,Height}
This isn't done, but contains a working implementation of at least `clientTop`. Feedback would be much appreciated: it's probably far from ideal.
Implementing `clientLeft` is straight-forward, I think, but `clientWidth` and `clientHeight` require accessing the `border_box` - and I don't know how that works, yet.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6662 )
<!-- Reviewable:end -->
2015-07-27 20:45:05 -06:00
Corey Farwell
ee224bc3e5
Add/format license headers for WebIDLs
2015-07-26 22:12:18 +07:00
Till Schneidereit
162ecd0aac
Implement client{Top, Left, Height, Width} element properties
2015-07-19 15:04:50 +02:00
Corey Farwell
5eaa922045
Update WHATWG links to use HTTPS
...
Extracted this out of #5649
This commit was created with the following commands:
```
find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
```
find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
2015-04-13 21:34:27 -07:00
Anthony Ramine
3d68a46fee
Implement NonDocumentTypeChildNode::*ElementSibling()
2015-04-09 15:43:05 +02:00
Chris Paris
2cc5bad21e
Implement Element.outerHTML setter
2015-04-06 12:56:55 -10:00
Chris Paris
99286e4b4f
Implement Element.innerHTML setter
2015-03-18 11:20:47 -10: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
Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06:00