aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Uppercase element.tagName for HTML elements onlyMatt Brubeck2014-08-281-8/+8
| | | | | | | | | | | | | | | | Fixes #3146
* | | | Introduce ConstantSpec::get_value.Ms2ger2014-08-281-9/+15
| | | | | | | | | | | | | | | | I'll need it for cross-origin wrappers as well.
* | | | Merge pull request #3175 from Ms2ger/propertyhooksMs2ger2014-08-282-3/+45
|\ \ \ \ | | | | | | | | | | Introduce the NativePropertyHooks struct; r=jdm
| * | | | Introduce the NativePropertyHooks struct.Ms2ger2014-08-282-3/+45
| | |_|/ | |/| | | | | | | | | | This will be required for the cross-origin wrapper work.
* | | | Merge pull request #3176 from Manishearth/more-macrosMs2ger2014-08-287-28/+7
|\ \ \ \ | |/ / / |/| | | Use macro getters for input elements: r=Ms2ger
| * | | Use macro getters for input elementsManish Goregaokar2014-08-287-28/+7
| | |/ | |/|
* | | Fix comment syntaxMatt Brubeck2014-08-271-1/+1
| | |
* | | Fix <br> supportMatt Brubeck2014-08-272-2/+4
| |/ |/|
* | Remove some unneeded pubsMatt Brubeck2014-08-272-7/+7
| |
* | Merge pull request #3134 from glennw/inline-backgroundLars Bergstrom2014-08-275-375/+122
|\ \ | | | | | | Add support for backgrounds on inline elements. Fix fixup() by removing it.
| * | Add support for backgrounds on inline elements. Fix fixup() by removing it.Glenn Watson2014-08-275-375/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | The code that managed ranges was buggy - failing on edge cases such as a span within a span. I have refactored the code so that the context information for inline formatting can optionally be stored within a fragment. This seems cleaner to me, and fixes the bugs encountered when making these changes by removing the need for the fixup() functionality (and ranges).
* | | Merge pull request #3145 from wenderen/NamespaceURI.NoneManish Goregaokar2014-08-272-3/+6
|\ \ \ | | | | | | | | return null from GetNamespaceURI, not the empty string; r=Manishearth, Ms2ger
| * | | return null from GetNamespaceURI, not the empty stringRohan Prinja2014-08-272-3/+6
| | | | | | | | | | | | | | | | correctly mark tests
* | | | Merge pull request #3168 from Ms2ger/delete_property_by_idJosh Matthews2014-08-272-9/+15
|\ \ \ \ | | | | | | | | | | Factor out code to call JS_DeletePropertyById2.
| * | | | Factor out code to call JS_DeletePropertyById2.Ms2ger2014-08-272-9/+15
| | | | | | | | | | | | | | | | | | | | I'll need to write the same code again for cross-origin wrappers.
* | | | | Merge pull request #3162 from SimonSapin/png-enumJack Moffitt2014-08-273-24/+20
|\ \ \ \ \ | |/ / / / |/| | | | Update to png::Image::pixels as an enum.
| * | | | Update to png::Image::pixels as an enum.Simon Sapin2014-08-263-24/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/servo/rust-png/pull/42 This does *not* fix the issue in #3154, but makes it fail!() instead of (maybe?) reading uninitalized memory.
* | | | | Merge pull request #3153 from SimonSapin/bit-struct-testsMatt Brubeck2014-08-261-1/+76
|\ \ \ \ \ | |_|_|/ / |/| | | | Add tests for the bit_struct! macro. r=mbrubeck
| * | | | Add tests for the bit_struct! macro.Simon Sapin2014-08-261-1/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The macro crate, when built with `--test`, now depends on itself (a version of itself built without `--test`). This is a bit unusal, but allows testing a syntax extension. I did not feel like making a new crate just for this, and these tests do not belong in any of the other existing crates.
* | | | | Merge pull request #3110 from SimonSapin/writing-modes-reftestSimon Sapin2014-08-277-84/+92
|\ \ \ \ \ | | | | | | | | | | | | Add a basic CSS Writing Modes reftest
| * | | | | Set the origin of the root element per its writing mode.Simon Sapin2014-08-261-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | It’s not always (0, 0) anymore.
| * | | | | Convert back to physical some layout coordinates.Simon Sapin2014-08-264-70/+70
| | | | | |
| * | | | | Dump display lists when debug!() is enabled for gfx::display_listSimon Sapin2014-08-262-9/+17
| | | | | |
| * | | | | Only write the px value in Show for AuSimon Sapin2014-08-261-2/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | The integer Au value is mostly internal and does not make much sense. Printing both values is very verbose and hurts readability of debug logs.
* | | | | Merge pull request #3160 from mbrubeck/old-layout-commentsJack Moffitt2014-08-261-5/+0
|\ \ \ \ \ | |/ / / / |/| | | | Remove obsolete TODO comments
| * | | | Remove obsolete TODO commentsMatt Brubeck2014-08-261-5/+0
| | | | |
* | | | | Nuke Node's TLayoutDataBruno de Oliveira Abinader2014-08-261-6/+0
|/ / / / | | | | | | | | | | | | LayoutData{Ref} structs replaced its usage for quite some time now.
* | | | Merge pull request #3131 from Manishearth/imageManish Goregaokar2014-08-261-12/+17
|\ \ \ \ | | | | | | | | | | Load bare images within an HTML document (#3108); r=Ms2ger
| * | | | Load bare images within an HTML document (#3108)Manish Goregaokar2014-08-261-12/+17
| | |_|/ | |/| |
* | | | Update ProxyTraps to use real bools.Ms2ger2014-08-262-52/+57
| |/ / |/| |
* | | Add https supportGlenn Watson2014-08-262-5/+8
| | |
* | | Cleaned DOMTokenList code duplicationBruno de Oliveira Abinader2014-08-251-22/+7
| | |
* | | Implement DOMTokenList.containsBruno de Oliveira Abinader2014-08-252-2/+26
| | |
* | | Use AttrValue::tokens() in Element::has_class()Bruno de Oliveira Abinader2014-08-251-4/+6
| | |
* | | Implemented Attribute's tokens() iteratorBruno de Oliveira Abinader2014-08-251-17/+13
| | |
* | | Fixed AttrValue::from_tokenlist indexesBruno de Oliveira Abinader2014-08-251-1/+6
| | | | | | | | | | | | | | | | | | The following issues were found: - Single concatenated spaces were indexed as a single token; - Last token, if not followed by an HTML space character, was ignored;
* | | Merge pull request #3142 from SimonSapin/bit-struct-macroPatrick Walton2014-08-252-65/+145
|\ \ \ | |_|/ |/| | Move PropertyBitField to a syntax extension.
| * | fixup! Move PropertyBitField to a syntax extension.Simon Sapin2014-08-241-1/+5
| | |
| * | Move PropertyBitField to a syntax extension.Simon Sapin2014-08-232-65/+141
| | | | | | | | | | | | This is a first step towards moving away the Mako template in the style crate.
* | | Implement cache for remaining Document live collectionsBruno de Oliveira Abinader2014-08-221-49/+90
|/ /
* | Make AttrValue::as_slice impl from StrBruno de Oliveira Abinader2014-08-221-1/+4
| |
* | Use Attr::value() whenever possibleBruno de Oliveira Abinader2014-08-221-3/+3
| |
* | Merge pull request #3095 from ChrisParis/HTMLScriptElement.textMs2ger2014-08-222-3/+26
|\ \ | | | | | | Implement HTMLScriptElement.text; r=Ms2ger
| * | Improve Option deconstructionChris Paris2014-08-161-3/+4
| | |
| * | Implement HTMLScriptElement.textChris Paris2014-08-152-3/+25
| | |
* | | Merge pull request #3125 from seanmonstar/script-typeMs2ger2014-08-221-1/+57
|\ \ \ | | | | | | | | Check the type/language of script elements (fixes #2828); r=SimonSapin+Ms2ger
| * | | check the type/language of script elementsSean McArthur2014-08-211-1/+57
| | | |
* | | | Merge pull request #3086 from ChrisParis/HTMLAnchorElement.textMs2ger2014-08-212-1/+16
|\ \ \ \ | |_|_|/ |/| | | Implement HTMLAnchorElement.text; r=Manishearth
| * | | Implement HTMLAnchorElement.textChris Paris2014-08-152-1/+16
| | | |
* | | | Merge pull request #3117 from ↵Martin Robinson2014-08-201-66/+41
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | mrobinson/simplify-find_layer_with_pipeline_and_layer_id Simplify use of CompositorData::find_layer_with_pipeline_and_layer_id