Permalink
Browse files

Build

  • Loading branch information...
curiousdannii committed Dec 28, 2017
1 parent 0d2720d commit 8518a42b2f9c1b1a4e1787c1d8e423fd64f26c88
Showing with 12 additions and 7 deletions.
  1. BIN lib/parchment-for-inform7.zip
  2. +9 −4 lib/parchment.debug.js
  3. +3 −3 lib/parchment.min.js
View
BIN -93 Bytes (100%) lib/parchment-for-inform7.zip
Binary file not shown.
View
@@ -3,9 +3,9 @@
Parchment
=========
Built: 2016-07-18
Built: 2017-12-28
Copyright (c) 2008-2016 The Parchment Contributors
Copyright (c) 2008-2017 The Parchment Contributors
BSD licenced
https://github.com/curiousdannii/parchment
@@ -263,6 +263,10 @@ extend( $.cssHooks, {
// Get the resolved colour - no inherits or transparents allowed!
get: function( elem )
{
if( elem === document ) {
return $( 'html' ).css( 'background-color' );
}
var $elem = $( elem ),
background = $elem.css( 'background-color' );
// Getting the current background colour is hard: go through the parent elements until one with a real colour is found
@@ -279,7 +283,7 @@ extend( $.cssHooks, {
parent = $elem.parent();
$elem.css( 'background-color', value );
// Recurse up the tree
if ( rBadBackground.test( parent.css( 'background-color' ) ) )
if ( parent.get(0) !== document && rBadBackground.test( parent.css( 'background-color' ) ) )
{
parent.css( 'bgcolor', value );
}
@@ -449,7 +453,7 @@ TextInput = Object.subClass({
// Find the element which we calculate scroll offsets from
// For now just decide by browser
self.scrollParent = /webkit/i.test( navigator.userAgent ) ? $body : $( 'html' );
self.scrollParent = /edge/i.test( navigator.userAgent ) ? $body : $( 'html' );
},
// Cleanup so we can deconstruct
@@ -611,6 +615,7 @@ TextInput = Object.subClass({
this.callback( this.order );
}
});
/*
Text grid (ie, status) windows
Oops, something went wrong.

0 comments on commit 8518a42

Please sign in to comment.