Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cargoify servo | Jack Moffitt | 2014-09-08 | 29 | -13877/+0 |
| | |||||
* | Merge pull request #3206 from glennw/layout-trace-enc | Patrick Walton | 2014-09-07 | 9 | -6/+240 |
|\ | | | | | Add an initial pass at a layout debug module. | ||||
| * | Change scope macro to be a no-op in release builds. | Glenn Watson | 2014-09-05 | 5 | -10/+25 |
| | | |||||
| * | Add a layout debug module. This outputs a trace of the layout process to a JSON | Glenn Watson | 2014-09-04 | 9 | -5/+224 |
| | | | | | | | | | | | | file which can be viewed in an external tool. It provides a timelapse view of how the flow tree and fragments changed during the layout process, which makes it easier to debug layout bugs. | ||||
* | | make Node.type_id field private | Sean McArthur | 2014-09-05 | 1 | -1/+1 |
| | | |||||
* | | Fix inline size bubbling with fixed width block. Improve intrinsic inline ↵ | Glenn Watson | 2014-09-05 | 2 | -11/+20 |
| | | | | | | | | | | | | | | | | | | | | size calculation for text fragments. These two fixes are related to the wikipedia metabug #2554. They don't make the wikipedia page look better (they cause a slight regression in the top caption table), but they are prerequisites for fixing some of the other layout issues that remain. Added reftests for each of the three cases I have come across that this patch solves. | ||||
* | | Added a fast no-message RPC interface to the layout task. | Clark Gaebel | 2014-09-04 | 1 | -231/+276 |
|/ | |||||
* | Add support for borders on inline elements. | Glenn Watson | 2014-09-03 | 1 | -7/+19 |
| | | | | | | | Fix ahem reftests on mac, by disabling text AA in reftest mode. Also fix precision issues in font metrics to correct height and baseline calculations. | ||||
* | Implement sideways text. | Simon Sapin | 2014-08-29 | 3 | -15/+57 |
| | |||||
* | Make text decorations be independent display items. | Simon Sapin | 2014-08-29 | 1 | -51/+60 |
| | | | | The goal it to avoid having too much layout logic (which gets more complex in vertical text) in gfx code. | ||||
* | Merge pull request #3170 from SimonSapin/trait-object-transmute | Simon Sapin | 2014-08-29 | 3 | -28/+38 |
|\ | | | | | Transmute std::raw::TraitObject rather than (some) custom tuples/structs | ||||
| * | Transmute std::raw::TraitObject rather than (some) custom tuples/structs. | Simon Sapin | 2014-08-28 | 3 | -28/+38 |
| | | | | | | | | | | | | | | | | Context: http://www.mail-archive.com/dev-servo@lists.mozilla.org/msg00867.html This fixes the known issues, but there might be other places where we do "bad" transmutes that I haven’t discovered. | ||||
* | | Fix comment syntax | Matt Brubeck | 2014-08-27 | 1 | -1/+1 |
| | | |||||
* | | Fix <br> support | Matt Brubeck | 2014-08-27 | 1 | -1/+3 |
|/ | |||||
* | Remove some unneeded pubs | Matt Brubeck | 2014-08-27 | 2 | -7/+7 |
| | |||||
* | Add support for backgrounds on inline elements. Fix fixup() by removing it. | Glenn Watson | 2014-08-27 | 5 | -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 #3110 from SimonSapin/writing-modes-reftest | Simon Sapin | 2014-08-27 | 5 | -73/+75 |
|\ | | | | | Add a basic CSS Writing Modes reftest | ||||
| * | Set the origin of the root element per its writing mode. | Simon Sapin | 2014-08-26 | 1 | -3/+4 |
| | | | | | | | | It’s not always (0, 0) anymore. | ||||
| * | Convert back to physical some layout coordinates. | Simon Sapin | 2014-08-26 | 4 | -70/+70 |
| | | |||||
| * | Dump display lists when debug!() is enabled for gfx::display_list | Simon Sapin | 2014-08-26 | 1 | -0/+1 |
| | | |||||
* | | Remove obsolete TODO comments | Matt Brubeck | 2014-08-26 | 1 | -5/+0 |
|/ | |||||
* | Prevent margin collapse in the root flow | Martin Robinson | 2014-08-18 | 1 | -2/+6 |
| | | | | | | According to the CSS specification, section 8.3.1, margins of the root element's box do not collapse. Ensure that root flow margins do not collapse during the assign heights phase. | ||||
* | Ensure that block elements with replaced content don't get their block size ↵ | Glenn Watson | 2014-08-18 | 1 | -3/+4 |
| | | | | overwritten. | ||||
* | Make more things private to the style crate. | Simon Sapin | 2014-08-16 | 1 | -15/+4 |
| | |||||
* | Refactor and fix src parsing in @font-face | Simon Sapin | 2014-08-16 | 1 | -4/+2 |
| | |||||
* | Fix case sensitivity of local name selectors. | Simon Sapin | 2014-08-16 | 1 | -7/+14 |
| | |||||
* | Move UA stylesheet to src/components/style | Simon Sapin | 2014-08-16 | 4 | -139/+1 |
| | |||||
* | Remove special treatment of UA stylesheet for parse errors. | Simon Sapin | 2014-08-16 | 1 | -2/+2 |
| | | | | CSS parse errors are now off by default anyway. | ||||
* | Rename MatchedProperty to DeclarationBlock | Simon Sapin | 2014-08-16 | 1 | -12/+12 |
| | |||||
* | Change line-height to be read from the font itself, rather than | Glenn Watson | 2014-08-12 | 3 | -22/+26 |
| | | | | a hard-coded estimate. | ||||
* | Refactor how LayoutContext structure works (reduce TLS lookups + simplify ↵ | Glenn Watson | 2014-08-11 | 16 | -355/+212 |
| | | | | | | | | | | | | fns used by seq/parallel code paths). - LayoutContext is renamed to SharedLayoutContext. - SharedLayoutContext is immutable. - LayoutContext is a wrapper around SharedLayoutContext + access to local caches (font, style etc). - Creating a LayoutContext does a single local_data lookup to fetch the cache information. - Android shares same implementation of context.rs as other platforms. - LayoutContext can be used from both green thread (parallel layout) and native thread (sequential layout). - Removes the need for other types (such as FontContext, StyleSharingCandidateCache etc) to be passed around. | ||||
* | Upgrade Rust. | Jack Moffitt | 2014-08-08 | 12 | -52/+67 |
| | |||||
* | Decouple compositing and script crates. | Josh Matthews | 2014-08-08 | 2 | -18/+62 |
| | |||||
* | Fix rustdoc comment syntax | Matt Brubeck | 2014-08-06 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3000 from Ms2ger/rendertask | Ms2ger | 2014-08-06 | 1 | -1/+1 |
|\ | | | | | Use spawn_named_with_send_on_failure for the RenderTask; r=Manishearth | ||||
| * | Pass an argument to spawn_named_with_send_on_failure to support spawning ↵ | Josh Matthews | 2014-08-04 | 1 | -1/+1 |
| | | | | | | | | native tasks. | ||||
* | | Merge pull request #2791 from glennw/web-fonts | glennw | 2014-08-06 | 1 | -1/+20 |
|\ \ | | | | | | | Add basic support for web fonts. Synchronous loading only | ||||
| * | | Don't rely on font hint for format detection. Handle parsing comma | Glenn Watson | 2014-07-24 | 1 | -8/+3 |
| | | | | | | | | | | | | | | | separated format hints. Fix oversight in mac code dealing with creating web fonts from memory. | ||||
| * | | Address review comments. | Glenn Watson | 2014-07-24 | 1 | -7/+10 |
| | | | |||||
| * | | Add basic support for web fonts. Synchronous loading only | Glenn Watson | 2014-07-24 | 1 | -1/+22 |
| | | | | | | | | | | | | | | | | | | for now, and only deals with TTF format fonts. For an example, try loading http://icons.marekventur.de | ||||
* | | | Merge pull request #3027 from zwarich/render-msg-renames | Cameron Zwarich | 2014-08-05 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | Rename messages used in rendering | ||||
| * | | | Rename RenderMsg to RenderInitMsg | Cameron Zwarich | 2014-08-05 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | RenderMsg doesn't actually render anything, so the name is confusing. | ||||
* | | | | Implement support for :enabled CSS selector | Bruno de Oliveira Abinader | 2014-08-05 | 1 | -0/+6 |
| | | | | |||||
* | | | | Implement support for :disabled CSS selector | Bruno de Oliveira Abinader | 2014-08-05 | 1 | -0/+6 |
|/ / / | |||||
* | | | Move documentation table stylining to a shared location. | Simon Sapin | 2014-08-04 | 1 | -6/+0 |
| | | | |||||
* | | | Un-blacklist the layout crate from rustdoc. See #2924. | Simon Sapin | 2014-08-04 | 1 | -15/+15 |
| |/ |/| | | | | | | | | | | | | | | | Whatever rustdoc bug we used to hit was solved by the Rust upgrade. (The style crate still causes rustdoc to overflow its stack.) Also use Markdown tables rather than ASCII diagrams in inlines.rs. Not only does this look nicer, this works around rustdoc trying (and failing) to parse them as Rust code. | ||||
* | | Upgrade Rust. | Jack Moffitt | 2014-08-02 | 12 | -36/+36 |
| | | |||||
* | | Merge pull request #2953 from glennw/inline-whitespace | Patrick Walton | 2014-07-30 | 1 | -12/+9 |
|\ \ | | | | | | | Change layout to handle whitespace between inline elements in HTML file. | ||||
| * | | Change layout to handle whitespace between inline elements in HTML file. | Glenn Watson | 2014-07-31 | 1 | -12/+9 |
| | | | | | | | | | | | | This matches the behaviour of other browsers. | ||||
* | | | Merge pull request #2927 from saneyuki/id_atom | Josh Matthews | 2014-07-29 | 1 | -0/+5 |
|\ \ \ | | | | | | | | | Port `id` attribute to use atom. |