stylo: Add support for xml:lang

MozReview-Commit-ID: E0GpyPKES3k
This commit is contained in:
Manish Goregaokar 2017-03-26 13:53:34 -07:00 committed by Manish Goregaokar
parent 8dea66e6f1
commit 5d6bc8177e
3 changed files with 31 additions and 7 deletions

View file

@ -211,8 +211,8 @@ impl ToComputedValue for specified::Color {
specified::Color::MozVisitedHyperlinktext => to_rgba(pres_context.mVisitedLinkColor),
specified::Color::InheritFromBodyQuirk => {
use dom::TElement;
use gecko_bindings::bindings::Gecko_GetBody;
use gecko::wrapper::GeckoElement;
use gecko_bindings::bindings::Gecko_GetBody;
let body = unsafe {
Gecko_GetBody(pres_context)
};