aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
* Generate the TypeId enums in codegenAnthony Ramine2015-10-14102-741/+655
|
* Auto merge of #7829 - frewsxcv:htmltablecellelement-cellindex, r=Ms2gerbors-servo2015-10-142-2/+20
|\ | | | | | | | | | | | | | | | | | | Implement HTMLTableCellElement::CellIndex Extracted from #6936 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7829) <!-- Reviewable:end -->
| * Implement HTMLTableCellElement::CellIndexCorey Farwell2015-10-062-2/+20
| | | | | | | | Extracted from #6936
* | Auto merge of #7871 - psdh:sendReason, r=jdmbors-servo2015-10-131-1/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Send reason in the Websocket close handshake Fixes #7862 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7871) <!-- Reviewable:end -->
| * | Send reason in the Websocket close handshakePrabhjyot Singh Sodhi2015-10-051-1/+4
| | |
* | | Link to the HTML multipage spec, not the single-page one.Eli Friedman2015-10-1311-43/+43
| | |
* | | Add newline so code sample is parsed correctly.Dongie Agnir2015-10-121-0/+1
| | |
* | | Auto merge of #7921 - glennw:subpage-fixes-2, r=jdmbors-servo2015-10-121-18/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update RemoveIFrame to use pipeline id rather than subpage. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7921) <!-- Reviewable:end -->
| * | | Convert RemoveIFrame message to use pipeline id.Glenn Watson2015-10-121-18/+15
| | | |
* | | | Auto merge of #7976 - frewsxcv:clippy, r=jdmbors-servo2015-10-121-33/+33
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup code that was warned by rust-clippy [whitespace agnostic diff](https://github.com/servo/servo/pull/7976/files?w=1) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7976) <!-- Reviewable:end -->
| * | | Cleanup code that was warned by rust-clippyCorey Farwell2015-10-111-33/+33
| | | |
* | | | Implement deleteRow and insertRow for <table> elementCorey Farwell2015-10-113-4/+67
|/ / / | | | | | | | | | Continued from #6936
* | | Auto merge of #7958 - frewsxcv:consolidate-magic-number, r=mbrubeckbors-servo2015-10-104-4/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consolidate magic number representing max unsigned long <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7958) <!-- Reviewable:end -->
| * | | Consolidate magic number representing max unsigned longCorey Farwell2015-10-104-4/+15
| | | |
* | | | Auto merge of #7953 - frewsxcv:htmldivelement-align, r=mbrubeckbors-servo2015-10-102-2/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement 'align' attribute for <div> elements <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7953) <!-- Reviewable:end -->
| * | | | Implement 'align' attribute for <div> elementsCorey Farwell2015-10-102-2/+10
| |/ / /
* | | | Auto merge of #7955 - frewsxcv:listing-pre, r=noxbors-servo2015-10-101-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add 'listing' alias for <pre> elements <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7955) <!-- Reviewable:end -->
| * | | | Add 'listing' alias for <pre> elementsCorey Farwell2015-10-101-1/+2
| |/ / /
* | | | Explicitly place '/' before fragment for multipage spec linksCorey Farwell2015-10-1097-152/+152
| | | | | | | | | | | | | | | | | | | | This prevents us from 301 redirecting, which could cause the fragment to get lost
* | | | Replace usage of old-style WHATWG spec linksCorey Farwell2015-10-1095-148/+148
|/ / /
* | | Auto merge of #7948 - kunitsyn:master, r=Manishearthbors-servo2015-10-092-7/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed dom_class type to Option<&'static DOMClass> to fix #7942 I have a feeling that converting `Option<&T>` to `*const libc::c_void` could be less explicit. Was there any way to do it shorter? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7948) <!-- Reviewable:end -->
| * | | Changed dom_class type to Option<&'static DOMClass>Andriy Kunitsin2015-10-092-7/+12
| | | |
* | | | Auto merge of #7835 - iawaknahc:webstorage-quota, r=jdmbors-servo2015-10-092-6/+13
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a quota of 5MB per origin for localstorage and sessionstorage PR for https://github.com/servo/servo/issues/6739 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7835) <!-- Reviewable:end -->
| * | | Implement a quota of 5MB per origin for localstorage and sessionstorageLouis Chan2015-10-092-6/+13
| | | |
* | | | Auto merge of #7925 - Ms2ger:iframe-pipeline-layout, r=glennwbors-servo2015-10-091-3/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement HTMLIFrameElement::pipeline_id on LayoutJS<HTMLIFrameElement>. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7925) <!-- Reviewable:end -->
| * | | | Implement HTMLIFrameElement::pipeline_id on LayoutJS<HTMLIFrameElement>.Ms2ger2015-10-081-3/+12
| |/ / /
* | | | Auto merge of #7885 - jimberlage:7858/null-message, r=Ms2gerbors-servo2015-10-092-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Creates empty string when passed null This should fix #7858. An empty `USVString` is now used when `data` is `None`. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7885) <!-- Reviewable:end -->
| * | | | Require the argument to WebSocket#send() (fixes #7858).Jim Berlage2015-10-082-3/+3
| | | | |
* | | | | Auto merge of #7841 - frewsxcv:htmlbodyelement-text, r=noxbors-servo2015-10-094-5/+54
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement <body>'s "text" attribute <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7841) <!-- Reviewable:end -->
| * | | | | Implement <body>'s "text" attributeCorey Farwell2015-10-084-5/+54
| | |/ / / | |/| | |
* / | | | Refactor away duplication of get_rooted functionalityPierre Chevalier2015-10-089-24/+24
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor .get().map(Root::from_rooted) and .get().map(|foo| foo.root()) to .get_rooted() on MutNullableHeap objects. First part done mechanically with the following comand: sed -i s/"get().map(Root::from_rooted)"/"get_rooted()"/g *.rs Second part done manually after finding them with git grep ".get().map(" Fixes 7929.
* | | | Auto merge of #7899 - glennw:subpage-fixes-1, r=pcwaltonbors-servo2015-10-071-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove constellation round trip for subpage mapping in compositor. This makes use of the new functionality that allows iframes to generate their own pipeline IDs in order to remove any knowledge of subpage ids from the compositor. (This is the first of several commits removing subpage from parts of servo). <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7899) <!-- Reviewable:end -->
| * | | | Remove constellation round trip for subpage mapping in compositor.Glenn Watson2015-10-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes use of the new functionality that allows iframes to generate their own pipeline IDs in order to remove any knowledge of subpage ids from the compositor. (This is the first of several commits removing subpage from parts of servo).
* | | | | webgl: Implement WebGLContextEvent and use it on context creation errorEmilio Cobos Álvarez2015-10-085-2/+117
| | | | | | | | | | | | | | | | | | | | spec: https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.15
* | | | | Auto merge of #7892 - anthgur:form-data-refactor, r=jdmbors-servo2015-10-072-84/+79
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor html form dataset collection Factor out FormDatum collection for `<input>` Improve early return logic for getting the FormDatum from an `<input>` Condense element type patterns Proposed to close #7851 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7892) <!-- Reviewable:end -->
| * | | | | Refactor html form dataset collectionAnthony Urena2015-10-072-84/+79
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Factor out FormDatum collection for <input> Improve early return logic for getting the FormDatum from an <input> Condense element type patterns
* | | | | Auto merge of #7898 - frewsxcv:htmlfontelement-size-attribute-setter, r=noxbors-servo2015-10-071-2/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the correct IDL setter for <font>.size Previously, the IDL attribute would incorrectly set the `size` attribute for `<font>` elements as `AttrValue::String`. Now it correctly sets it as `AttrValue::Length`. Also included is a regression test. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7898) <!-- Reviewable:end -->
| * | | | | Use the correct IDL setter for <font>.sizeCorey Farwell2015-10-071-2/+10
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Previously, the IDL attribute would incorrectly set the `size` attribute for `<font>` elements as `AttrValue::String`. Now it correctly sets it as `AttrValue::Length`. Also included is a regression test.
* | | | | Auto merge of #7903 - Ms2ger:codegen-docs, r=Manishearthbors-servo2015-10-071-4/+16
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for documenting CGAbstractMethods. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7903) <!-- Reviewable:end -->
| * | | | | Document RegisterBindings::RegisterProxyHandlers.Ms2ger2015-10-071-1/+2
| | | | | |
| * | | | | Add support for documenting CGAbstractMethods.Ms2ger2015-10-071-3/+14
| |/ / / /
* | | | | Auto merge of #7902 - mskrzypkows:HTMLInputElement_pub_refactor, r=noxbors-servo2015-10-071-9/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed unneeded pub annotations in HTMLInputElement #7897 get_size method appeared to be never used so I removed it. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7902) <!-- Reviewable:end -->
| * | | | | Removed unneeded pub annotations in HTMLInputElement #7897Maciej Skrzypkowski2015-10-071-9/+5
| |/ / / / | | | | | | | | | | | | | | | get_size method appeared to be never used so I removed it.
* | | | | Remove a pointless level of indentation.Ms2ger2015-10-071-8/+8
| | | | |
* | | | | Pass an Element to collect_text.Ms2ger2015-10-071-11/+9
| | | | |
* | | | | Avoid panicking in the implementation of HTMLOptionElement#text for ↵Ms2ger2015-10-071-1/+2
|/ / / / | | | | | | | | | | | | non-element, non-text children.
* | | | make blacklist as const arrayvectorijk2015-10-061-65/+65
| | | |
* | | | Fix #7855 Implement port blockingvectorijk2015-10-061-0/+69
|/ / / | | | | | | | | | For WebSocket connection algorithm
* | | Auto merge of #7882 - anthgur:consistent-enum-use, r=Ms2gerbors-servo2015-10-0619-161/+139
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor Error enum usage to consistently be qualified Closes #7869 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7882) <!-- Reviewable:end -->
| * | | Refactor Error enum usage to consistently be qualifiedAnthony Urena2015-10-0619-161/+139
| |/ /