Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
April 8, 2014
Chris
CSS, HTML5
Comments Off on A quick video introduction into Shadow-DOM, the game-changing DOM-subtree-technology

A quick video introduction into Shadow-DOM, the game-changing DOM-subtree-technology

PreviousNext

Awesome talk by Eric Bidelman (of the Chrome team): Shadow-DOM was often heard in 2013 and seem to exist for 3 years now (there are blog posts from early 2011 about this), but I never got really into contact with the technology, until somebody sent me this excellent video.

What is ShadowDOM ?

I’m not 100% sure about this technology, but the basic idea is this: We have our regular document-object-model (DOM), the HTML-tree. This tree of HTML tags can be manipulated in layout and behaviour via CSS and JS (and some other technologies, but let’s skip that here). Now imagine that we introduce a custom HTML tag called datepicker. And now the surprise: This HTML tag – which is displayed as a single tag in our DOM – is basically an encapsulated HTML document or HTML template, with own encapsulated CSS. The HTML document has its own DOM, its own CSS. To get an idea how all this stuff works and where the limits are have a look into this conference talk clip.

CSSHTMLHTML5shadowDOM
Share this
php

How to setup / install PHP 5.6 on Ubuntu 14.04 LTS

Ubuntu 14.04 LTS ships with PHP 5.5 by default, but if you want to use PHP 5.6, then it’s just

How to fix the ugly font rendering in Google Chrome

Update, August 2014: Google has rolled out Chrome 37, which finally fixes this issue nativly. Yeah! For historical reasons the

Support FLARUM, the future of PHP forum scripts (with some dollars on Kickstarter)

PHP forum scripts are horrible, let’s face it. Nearly everything that’s available is hard to install, hard to handle, hard

Redesigning Windows 8 – fantastic and clever drafts by Jay Machalani

The interface of Windows 8 has been the topic of heated discussions for a long time now, and everybody who’s

Symfony devs: Creator of Symfony framework is hiring (Cologne, Germany)!

Probably one of the most interesting companies for a PHP developer is currently hiring Juniors and Seniors in Cologne, Germany.

php

Awesome list of Design Patterns with PHP code examples

Probably one of the most useful GitHub repositories ever: Dominik Liebler has published a well-reseached and well-written (PSR coding guidelines

GitHub introduces revert button / rollback for merged pull requests

Once again GitHub delivers an excellent feature: Clean one-click rollbacks / reverts / undos of pull requests, very very useful,

PHPMyAdmin not found after installation ? Here’s a fix (Ubuntu 12.04) !

You just installed PHPMyAdmin but http://www.yourdomain.com/phpmyadmin just says “phpmyadmin not found” ? Try to create a link in /var/www like

phpstorm-8

PHPStorm 8 has just been released

The excellent PHP IDE PHPStorm just had a major release these days: Version 8 is out, coming with latest PHP

Awesome next-gen PS4 graphics in “The Order: 1886”

We are entering a very interesting time: The differences between cinematic movies and video games are getting lesser and lesser.

1/4

Categories

Search

vagrant
Generate Vagrant boxes with Laravel, HipHop, Nginx, WordPress, MySQL, MariaDB, MongoDB, RabbitMQ etc. with one click
-45% (or even 50%) off on DesignWall today
gamescom 2014 trailers
GAMESCOM 2014: Awesome Next-Gen ingame graphics
“Fuck you. Pay Me.” How to deal with clients, the professional way. An excellent talk with Mike Monteiro.
angular js
Learn AngularJS in 20 (or 90) minutes with Dan Wahlin
digitalocean coupon
Free $10 coupon for DigitalOcean SSD cloud VPS hosting
dev coding cards deck
Nice gifts for devs: Nerdy playing-cards decks
modern-php
Creator of Slim framework and “PHP – The right way” writes book: “Modern PHP”, available 2015
DEF CON 18 – When your computer got stolen and you can still SSH into it: “Pwned by the 0wner” (22min conference talk)
phpstorm 7.0 php
How to setup and use XDEBUG with PHPStorm 6/7 (locally in Windows 7/8 and Mac OS X)
You made a mess with Git ? Here’s a flowchart guideline on how to fix
PHPMyAdmin not found after installation ? Here’s a fix (Ubuntu 12.04) !
Create a fast, perfect and bootable 1:1 Windows backup (full clone of HDD) for SSD migration
Disappointed by Watch Dogs’s graphics ? See how it looks with unlocked, hidden settings. Awesome!
hiphop php
PHP’s HipHop outperforms PHP 5.5 with Zend OPCache and Nginx by 15-20 times

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy