aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix a dynamic borrow failure with iframesKeegan McAllister2014-03-031-4/+2
|
* Fix Android argument handlingKeegan McAllister2014-03-031-1/+1
| | | | Copy-paste fail from my c277d25506b61a34a3b28dcf4433e203ffa43284
* auto merge of #1797 : Ms2ger/servo/IDL-debris, r=jdmbors-servo2014-03-033-68/+13
|\
| * Remove support for external (i.e. XPIDL) interfaces.Ms2ger2014-03-033-68/+13
| |
* | auto merge of #1681 : pradeep90/servo/absolute-position, r=pcwaltonbors-servo2014-03-0329-260/+2086
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | + Re-implement fixed positioning using the absolute positioning code. + Add reftests for absolute positioning and fixed positioning. + Refactor assign_widths in BlockFlow to isolate the calculation of widths and margins. + Pass down details of the Containing Block for absolute and fixed flows during layout. Use it to calculate the static position of absolute flows. + Defer calculation of absolute flow dimensions till we build the display list. This implements https://github.com/mozilla/servo/issues/1537 and https://github.com/mozilla/servo/issues/787
| * Implement mini-traversal for absolute flow assign-height.S Pradeep Kumar2014-03-0319-402/+1219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This only traverses absolute flows, nothing else. + Also, a separate mini-traversal for store overflow. + Store descendants with position 'absolute' and 'fixed' in BaseFlow. + Bubble up links to absolute and fixed descendants during Flow Construction. + Set Rawlink to the CB in absolute descendants. + store_overflow() now uses absolute descendants' overflows too. + Add reftests for 'absolute' and 'fixed' static y position. + Add reftests for overflow (they all fail now). + Put absolute flow display items under their CB's ClipDisplayItem. + Paint borders in Box_ before the actual box stuff (minor fix in lieu of paint-order).
| * Implement `position: absolute` for non-replaced elements.S Pradeep Kumar2014-03-0315-195/+1204
| | | | | | | | | | | | | | | | | | | | | | + Re-implement fixed positioning using the absolute positioning code. + Add reftests for absolute positioning and fixed positioning. + Refactor assign_widths in BlockFlow to isolate the calculation of widths and margins. + Pass down details of the Containing Block for absolute and fixed flows during layout. Use it to calculate the static position of absolute flows. + Defer calculation of absolute flow dimensions till we build the display list.
* | auto merge of #1791 : Ms2ger/servo/conversions, r=jdmbors-servo2014-03-033-64/+36
|\ \
| * | Fix test.Ms2ger2014-03-031-1/+1
| | |
| * | Reimplement conversion to primitive types for correctness in the face of ↵Ms2ger2014-03-021-60/+32
| | | | | | | | | | | | non-primitive arguments.
| * | Pass a JSContext to JSValConvertible::from_jsval.Ms2ger2014-03-022-11/+11
| |/
* | Remove unused argument to CreateInterfaceObject and now unused code.Ms2ger2014-03-031-92/+13
| |
* | Remove unused argument to CreateInterfaceObjects2.Ms2ger2014-03-032-4/+4
|/
* auto merge of #1789 : lpy/servo/issue1761, r=jdmbors-servo2014-03-013-12/+22
|\ | | | | | | see #1761
| * Implement document_from_node and window_from_node helpers.(fixes #1761)lpy2014-03-013-12/+22
| |
* | DOMParser should pass the correct contentType (fixes #1741)Saurabh Anand2014-03-011-3/+3
| |
* | auto merge of #1780 : kmcallister/servo/linux-fontconfig, r=kmcallister,metajackbors-servo2014-02-283-0/+0
|\ \ | |/ |/| | | | | | | | | | | | | | | | | After applying this patch, on Linux you will need to ../configure make clean-rust-azure clean-fontconfig clean-rust-fontconfig Fixes #1752. Expect Fontconfig warnings and possibly worse breakage, but for me this makes it possible to use parallel layout at all.
| * Fix link order for azure-testKeegan McAllister2014-02-281-0/+0
| |
| * Build Fontconfig 2.11 in-tree on LinuxKeegan McAllister2014-02-273-0/+0
| | | | | | | | | | | | | | | | | | After applying this patch, on Linux you will need to ../configure make clean-rust-azure clean-fontconfig clean-rust-fontconfig Fixes #1752.
* | De-@mut the script crate.Josh Matthews2014-02-2812-248/+394
| |
* | auto merge of #1781 : hgentry/servo/mozilla-servo, r=metajackbors-servo2014-02-284-10/+10
|\ \ | | | | | | | | | | | | Simple change. I hope I'm using github correctly; I'm not too familiar with the PR system. Fixes #1777.
| * | Renamed HTMLIframeElementTypeId to HTMLIFrameElementTypeIdhgentry2014-02-274-10/+10
| |/
* | Implement "resize" DOM Event.Tetsuharu OHZEKI2014-03-012-1/+46
| | | | | | | | | | * We cannot automate this feature. * So this testcase is a manual test.
* | Move Error, Fallible, ErrorResult out of utils.rs (fixes #1749)Saurabh Anand2014-02-2880-116/+125
| |
* | auto merge of #1776 : lpy/servo/issue1762, r=jdmbors-servo2014-02-285-7/+13
|\ \ | | | | | | | | | see #1762
| * | Add url getter to Page and fix users of Page url with it.(fixes #1762)lpy2014-02-285-7/+13
| | |
* | | auto merge of #1770 : pcwalton/servo/rewrite-float-context, r=kmcallisterbors-servo2014-02-278-451/+448
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This rewrites the float context to avoid dynamic failures resulting from `.clone()` misuse. It also renames the float context to the simpler `Floats`. The new version is modeled on WebKit's `FloatingObjects`. r? @kmcallister
| * | | layout: Rewrite the float context.Patrick Walton2014-02-268-451/+448
| | | | | | | | | | | | | | | | | | | | | | | | This rewrites the float context to avoid dynamic failures resulting from `.clone()` misuse. It also renames the float context to the simpler `Floats`. The new version is modeled on WebKit's `FloatingObjects`.
* | | | auto merge of #1772 : pcwalton/servo/borrow-flags-race, r=jdmbors-servo2014-02-273-37/+90
|\ \ \ \ | |_|_|/ |/| | | | | | | r? @jdm
| * | | layout: Stop racing on the JSManaged borrow flagsPatrick Walton2014-02-273-37/+90
| | |/ | |/|
* | | Remove no-op implementations from Element and add some spec links.Ms2ger2014-02-272-111/+4
| | |
* | | auto merge of #1771 : lpy/servo/issue1742, r=Ms2gerbors-servo2014-02-272-2/+13
|\ \ \ | |/ / |/| | | | | see #1742
| * | Add check for non-Text children for document.title.(fixes #1742)lpy2014-02-272-2/+13
| |/
* | auto merge of #1767 : kmcallister/servo/misc, r=metajackbors-servo2014-02-2617-120/+49
|\ \
| * | Remove remnants of old reftest systemKeegan McAllister2014-02-2615-110/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Back in 2012, Brian wrote a reftest system using Firefox via Selenium to generate comparison images. This seems like a pretty cool idea, but we didn't maintain it and important pieces are now missing. Let's remove it from the working tree to avoid confusion with the current reftest system, and I'll open a ticket about revisiting this idea. One pair of old reftest files seems usable as a new reftest and that move is included in this commit.
| * | Don't crash on bad command-line argumentsKeegan McAllister2014-02-262-10/+19
| | | | | | | | | | | | | | | As amusing as it is to have servo --help die with SIGILL, it's not the best user experience :)
* | | auto merge of #1736 : sankha93/servo/issue1733, r=jdmbors-servo2014-02-261-9/+9
|\ \ \ | |/ / |/| |
| * | Merge master into this branchSankha Narayan Guria2014-02-27161-3359/+4693
| |\ \
| * | | Be more explicit in casts of generated bindingsSankha Narayan Guria2014-02-231-9/+9
| | | |
* | | | Only register the new ID from after_set_attr, and remove update_idmap.Ms2ger2014-02-262-36/+8
| | | |
* | | | Call unregister_named_element rather update_idmap from before_remove_attr.Ms2ger2014-02-261-1/+1
| | | |
* | | | Call after_remove_attr before removing the attribute, and rename it ↵Ms2ger2014-02-263-12/+12
| | | | | | | | | | | | | | | | before_remove_attr.
* | | | Pass a non-Option DOMString to after_remove_attr.Ms2ger2014-02-261-3/+3
| | | |
* | | | Cleanup Element::set_attribute.Ms2ger2014-02-262-20/+18
| | | |
* | | | Move ID management on binding to and unbinding from tree into Element.Ms2ger2014-02-263-38/+62
| |_|/ |/| |
* | | auto merge of #1759 : lpy/servo/issue1743, r=Ms2gerbors-servo2014-02-262-1/+12
|\ \ \ | | | | | | | | | | | | | | | | see #1743
| * | | Add testlpy2014-02-261-0/+11
| | | |
| * | | Add empty text check for first child of pre in innerHTML.(fixes #1743)lpy2014-02-261-1/+1
| | | |
* | | | Move Traceable, trace_reflector from utils.rs to trace.rs.(fixes #1748)lpy2014-02-263-22/+26
|/ / /
* | | Handle removing the src attribute from an img element (fixes #1469).Ms2ger2014-02-254-4/+11
| | |