-
LayoutNG original design document. Beware of it being somewhat outdated to some extent.
-
layout/ng/README.md
. Slightly more up-to-date, but lots of TODOs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin() | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
Plug 'junegunn/fzf.vim' | |
Plug 'udalov/kotlin-vim' | |
Plug 'editorconfig/editorconfig-vim' | |
Plug 'preservim/nerdtree' | |
Plug 'rust-lang/rust.vim' | |
Plug 'vim-syntastic/syntastic' | |
Plug 'leafgarland/typescript-vim' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
set -o errexit | |
# set -x | |
if [ $# -eq 0 ]; then | |
echo "Usage: buildwith modifier-1 ..." | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<style> | |
.switch { | |
-moz-appearance: none; | |
-webkit-appearance: none; | |
display: inline-block; | |
position: relative; | |
background: #ccc; | |
border-radius: 1em; | |
height: 1em; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var USELESS_PROPERTIES = []; | |
function processContainer(container) { | |
if (container instanceof CSSSupportsRule) | |
if (!CSS.supports(container.conditionText)) | |
return false; | |
if (container instanceof CSSMediaRule) | |
if (!matchMedia(container.conditionText).matches) | |
return false; | |
if (container.media && container.media.mediaText) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/servo/components/style_derive/to_css.rs b/servo/components/style_derive/to_css.rs | |
index a5811471cb1d..edb63b7c1ae8 100644 | |
--- a/servo/components/style_derive/to_css.rs | |
+++ b/servo/components/style_derive/to_css.rs | |
@@ -5,24 +5,30 @@ | |
use cg; | |
use darling::util::Override; | |
use quote::{ToTokens, Tokens}; | |
use syn::{self, Data, Path, WhereClause}; | |
use synstructure::{BindingInfo, Structure, VariantInfo}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<div id="host" style="overflow: hidden"> | |
<iframe slot="first" src="https://example.com" id="theframe"></iframe> | |
</div> | |
<button onclick="theframe.setAttribute('slot', theframe.getAttribute('slot') == 'first' ? 'second' : 'first')"> | |
Click to move the frame around, hopefully without reloading. | |
</button> | |
<script> | |
host.attachShadow({ mode: "open" }).innerHTML = ` | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dom/base/nsStyleLinkElement.cpp b/dom/base/nsStyleLinkElement.cpp | |
index 021b9b6320d8..8ebe471cab21 100644 | |
--- a/dom/base/nsStyleLinkElement.cpp | |
+++ b/dom/base/nsStyleLinkElement.cpp | |
@@ -398,16 +398,27 @@ nsStyleLinkElement::DoUpdateStyleSheet(nsIDocument* aOldDocument, | |
thisContent->AsElement()->GetAttr(kNameSpaceID_None, nsGkAtoms::integrity, | |
integrity); | |
if (!integrity.IsEmpty()) { | |
MOZ_LOG(SRILogHelper::GetSriLog(), mozilla::LogLevel::Debug, | |
("nsStyleLinkElement::DoUpdateStyleSheet, integrity=%s", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ModuleID = 'test-no-pgo.test0.rcgu.bc' | |
source_filename = "test0-317d481089b8c8fe83113de504472633.rs" | |
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" | |
target triple = "x86_64-unknown-linux-gnu" | |
%"std::env::ArgsOs" = type { [0 x i64], %"std::sys::unix::args::Args", [0 x i64] } | |
%"std::sys::unix::args::Args" = type { [0 x i8], %"core::marker::PhantomData<*mut ()>", [0 x i8], %"alloc::vec::IntoIter<std::ffi::os_str::OsString>", [0 x i64] } | |
%"core::marker::PhantomData<*mut ()>" = type {} | |
%"alloc::vec::IntoIter<std::ffi::os_str::OsString>" = type { [0 x i8], %"core::marker::PhantomData<std::ffi::os_str::OsString>", [0 x i8], i64*, [0 x i64], i64, [0 x i64], %"std::ffi::os_str::OsString"*, [0 x i64], %"std::ffi::os_str::OsString"*, [0 x i64] } | |
%"core::marker::PhantomData<std::ffi::os_str::OsString>" = type {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* window.Notification polyfill | |
* @author Emilio Cobos (http://emiliocobos.net) | |
*/ | |
/* try prefixed */ | |
if( ! window.Notification ) { | |
window.Notification = (function() { | |
return window.Notification || window.webkitNotification || window.mozNotification || window.oNotification || window.msNotification; | |
})() |