Blink aborts computing styles on descendants of display:none
nodes. If the inside of the iframe has , you make remove recalc style, no layout, no painting.
still does all that work because it's another document and the display:none
effect does not transcend into the other document.
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> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Styled Select</title> | |
</head> | |
<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
<!-- | |
<component-name>[--modifier-name|__descendent-name] | |
.component {} | |
.component__descendant {} | |
.component--modifier {} | |
--> | |
<article class="tweet tweet--is-expanded"> | |
<header class="tweet__header"> |
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> | |
<!-- Based off of the infinity symbol from http://css-tricks.com/examples/ShapesOfCSS/ --> | |
<html> | |
<head><title>CSS Eyeball</title> | |
<style> | |
#eyeball { | |
position: relative; | |
width: 140px; | |
height: 100px; | |
} |
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
# Copyright (c) 2011, the <your_company> project authors. Please don't see the | |
# AUTHORS file for details. All rights reserved. Use of this source code is | |
# governed by a BSD-style license that can be found in the LICENSE file. | |
# Simple test program invoked with an option to eagerly | |
# compile all code that is loaded in the isolate. | |
# VMOptions=--fuu_dart | |
class HelloCoffeeTest | |
test_main: -> | |
console.log "Hello, Coffee man!" |
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
<?php | |
/* | |
OCP - Optimizer+ Control Panel, by _ck_, stasilok | |
Version 0.0.6 | |
Free for any kind of use or modification, I am not responsible for anything, please share your improvements | |
* revision history | |
0.0.6 2013-03-16 added opcache support (autodetect opcache or ZendOptimizerPlus functionality) (because of "ZendOptimizerPlus" is renamed to "opcache" to be merged into PHP-5.5) (stasilok) | |
0.0.5 2013-03-10 added refresh button (GK) | |
0.0.4 2013-02-18 added file grouping and sorting (click on headers) - code needs cleanup but gets the job done |
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> | |
<html> | |
<head> | |
<title>Toggle Switch</title> | |
<style> | |
.switch { | |
position: relative; | |
} | |
.switch label { | |
width: 55px; |
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> | |
<html> | |
<head> | |
<title>CSS3 Checkbox</title> | |
<style type="text/css"> | |
.checkbox { | |
width: 30px; | |
height: 30px; | |
background-color: #ddd; | |
position: relative; |
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> | |
<html> | |
<head> | |
<title>Customized range slider, pure CSS</title> | |
<style> | |
body { | |
background: #f8f8f8; | |
} | |
.slider { | |
width: 302px; |
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
<html> | |
<head> | |
<title>Step progress bar</title> | |
<style type="text/css"> | |
.container { | |
width: 100%; | |
} | |
.progressbar { | |
counter-reset: step; | |
} |
OlderNewer