Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moar detach shadow improvements | Fernando Jiménez Moreno | 2019-07-22 | 1 | -3/+1 |
| | |||||
* | Detach shadow clean up | Fernando Jiménez Moreno | 2019-07-22 | 1 | -1/+3 |
| | |||||
* | Only allow UA widgets as children of media elements | Fernando Jiménez Moreno | 2019-07-22 | 1 | -0/+4 |
| | | | | Do not allow pseudo-elements for replaced elements | ||||
* | Fix style system build with recent changes. | Emilio Cobos Álvarez | 2019-06-25 | 1 | -0/+4 |
| | |||||
* | style: Do not use borrowed types in the selectors::Element trait. | Evgeniy Reizner | 2019-06-04 | 1 | -12/+34 |
| | | | | | Closes #22972 Closes #23463 | ||||
* | script: Fix Servo build. | Emilio Cobos Álvarez | 2019-05-29 | 1 | -0/+8 |
| | |||||
* | layout: fix Servo build. | Emilio Cobos Álvarez | 2019-05-07 | 1 | -0/+11 |
| | |||||
* | Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_r | Fernando Jiménez Moreno | 2019-04-29 | 1 | -1/+1 |
| | | | | | Clarify special case for containing_shadow_root and add it to layout accessor | ||||
* | Set dirty descendants if node is connected | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+1 |
| | |||||
* | Move is_connected function from style to layout, where it is used | Fernando Jiménez Moreno | 2019-04-26 | 1 | -4/+4 |
| | |||||
* | Minor tweaks: rename composed_parent_node_ref, remove or update outdated ↵ | Fernando Jiménez Moreno | 2019-04-26 | 1 | -8/+11 |
| | | | | comments... | ||||
* | Tweak list of shadow roots attached to doc | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+4 |
| | |||||
* | Make ServoShadowRoot.flush_stylesheets unsafe | Fernando Jiménez Moreno | 2019-04-26 | 1 | -5/+3 |
| | |||||
* | Flush shadow roots stylesheets only if they changed | Fernando Jiménez Moreno | 2019-04-26 | 1 | -0/+17 |
| | |||||
* | Minor layout thread cleanups: | Fernando Jiménez Moreno | 2019-04-26 | 1 | -12/+8 |
| | | | | | | | - lifetime naming - unrequired reference removal - containing_shadow_host getter simplification - use stylist.device getter where possible | ||||
* | Derive PartialEq for ServoShadowRoot | Fernando Jiménez Moreno | 2019-04-26 | 1 | -8/+1 |
| | |||||
* | Do not set dirty out-of-doc nodes | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+5 |
| | |||||
* | Invalidate and flush shadow tree stylesheets where needed | Fernando Jiménez Moreno | 2019-04-26 | 1 | -2/+18 |
| | |||||
* | Expose a way to flush shadow root stylesheets from layout | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+11 |
| | |||||
* | Implement TShadowRoot::style_data | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+6 |
| | |||||
* | Adapt traversals for shadow dom | Fernando Jiménez Moreno | 2019-04-26 | 1 | -2/+17 |
| | |||||
* | First bits of shadow dom layout | Fernando Jiménez Moreno | 2019-04-26 | 1 | -21/+69 |
| | |||||
* | Add is_connected flag to node and use it to replace most uses of is_in_doc | Fernando Jiménez Moreno | 2019-04-26 | 1 | -3/+3 |
| | |||||
* | Remove :-servo-case-sensitive-type-attr() | Ian Moody | 2019-04-18 | 1 | -3/+0 |
| | | | | | | | | No longer needed now that the case-sensitive flag for attributes selectors is supported. Update user-agent CSS sheet to use the standard flag. Fixes #23227 | ||||
* | Implement CDATASection interface and createCDATASection method | George Roman | 2019-03-14 | 1 | -3/+6 |
| | |||||
* | Update MPL license to https (part 4) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -16/+24 |
| | |||||
* | Format remaining files | Pyfisch | 2018-11-06 | 1 | -6/+2 |
| | |||||
* | Make layout use available image data before querying the image cache. | Josh Matthews | 2018-10-12 | 1 | -0/+7 |
| | |||||
* | Revert import style format | Fernando Jiménez Moreno | 2018-10-08 | 1 | -4/+2 |
| | |||||
* | layout: add media_data() to ServoThreadSafeLayoutNode implementation | Víctor Manuel Jáquez Leal | 2018-10-08 | 1 | -2/+9 |
| | |||||
* | Fix Servo build. | Emilio Cobos Álvarez | 2018-09-18 | 1 | -2/+6 |
| | |||||
* | Current-pixel-density tests passing | paavininanda | 2018-09-13 | 1 | -0/+5 |
| | |||||
* | Auto merge of #21613 - pyfisch:layout_thread-fmt, r=Manishearth | bors-servo | 2018-09-05 | 1 | -157/+211 |
|\ | | | | | | | | | | | | | | | | | | | | | Rustfmt layout_thread crate Part of #21373. Checked all changes looks good. :tada: Manually removed two optional semicolons within unsafe so that it is formatted in one line. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21613) <!-- Reviewable:end --> | ||||
| * | Rustfmt layout_thread crate | Pyfisch | 2018-09-05 | 1 | -157/+211 |
| | | |||||
* | | Fix other parts of the Servo build. | Emilio Cobos Álvarez | 2018-09-03 | 1 | -3/+3 |
|/ | |||||
* | Fix Servo build. | Emilio Cobos Álvarez | 2018-08-08 | 1 | -19/+0 |
| | |||||
* | layout: script: Fix build. | Emilio Cobos Álvarez | 2018-06-23 | 1 | -1/+1 |
| | |||||
* | style: Fix build after 1bc30a67320ce90f2e07988925a340b457f1a43a. | Emilio Cobos Álvarez | 2018-04-17 | 1 | -0/+8 |
| | |||||
* | style: Add infrastructure to match :host. | Emilio Cobos Álvarez | 2018-03-14 | 1 | -0/+16 |
| | |||||
* | style: Allow to share style across elements with similar XBL bindings. | Emilio Cobos Álvarez | 2018-03-12 | 1 | -2/+2 |
| | |||||
* | style: Separate the XBL and shadow dom styling bits. | Emilio Cobos Álvarez | 2018-03-07 | 1 | -0/+8 |
| | | | | | | Bug: 1441022 Reviewed-by: xidorn MozReview-Commit-ID: 2W0BmZ8wWXg | ||||
* | style: Add also a containing_shadow API. | Emilio Cobos Álvarez | 2018-03-03 | 1 | -0/+4 |
| | |||||
* | style: Add bindings for ShadowRoot. | Emilio Cobos Álvarez | 2018-03-03 | 1 | -6/+33 |
| | | | | | | | This adds TShadowRoot to the `dom` module. Right now it barely adds uses of it, but this is a prerequisite to fix a bunch of Shadow DOM bugs and separate it from the XBL mess. | ||||
* | style: Make Element::id not clone the attribute. | Emilio Cobos Álvarez | 2018-02-24 | 1 | -3/+3 |
| | |||||
* | style: Remove get_ prefix from get_state and get_id. | Emilio Cobos Álvarez | 2018-02-24 | 1 | -2/+2 |
| | |||||
* | selectors: Remove the get_ prefix from get_local_name and get_namespace. | Emilio Cobos Álvarez | 2018-02-24 | 1 | -11/+11 |
| | |||||
* | selectors: Never match ::slotted on <slot>s. | Emilio Cobos Álvarez | 2018-01-27 | 1 | -0/+11 |
| | | | | | This fixes the test from https://github.com/w3c/web-platform-tests/pull/9212 in Gecko. | ||||
* | style: Use CascadeFlags for what they're for. | Emilio Cobos Álvarez | 2018-01-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we have an Element around on cascade, we can stop using the cascade flags mechanism to pass various element-related state, like "is this element the root", or "should it use the item-based display fixup". That fixes handwaviness in the handling of those flags from style reparenting, and code duplication to handle tricky stuff like :visited. There are a number of other changes that are worth noticing: * skip_root_and_item_based_display_fixup is renamed to skip_item_display_fixup: TElement::is_root() already implies being the document element, which by definition is not native anonymous and not a pseudo-element. Thus, you never get fixed-up if your NAC or a pseudo, which is what the code tried to avoid, so the only fixup with a point is the item one, which is necessary. * The pseudo-element probing code was refactored to return early a Option::<CascadeInputs>::None, which is nicer than what it was doing. * The visited_links_enabled check has moved to selector-matching time. The rest of the checks aren't based on whether the element is a link, or are properly guarded by parent_style.visited_style().is_some() or visited_rules.is_some(). Thus you can transitively infer that no element will end up with a :visited style, not even from style reparenting. Anyway, the underlying reason why I want the element in StyleAdjuster is because we're going to implement an adjustment in there depending on the tag of the element (converting display: contents to display: none depending on the tag), so computing that information eagerly, including a hash lookup, wouldn't be nice. | ||||
* | style: Derive debug for CascadeInputs. | Emilio Cobos Álvarez | 2018-01-23 | 1 | -0/+2 |
| | | | | It no longer has anything than rules. |