Skip to content

Instantly share code, notes, and snippets.

@rhpijnacker
rhpijnacker / input-overflow-test
Created August 31, 2017 07:03
safaridriver bug on input with style "overflow: hidden"
#!/usr/bin/ruby -w
require 'selenium-webdriver'
driver = Selenium::WebDriver.for :safari, driver_path: '/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver'
driver.manage.window.maximize
driver.navigate.to "http://localhost/input-overflow-test.html"
element = driver.find_element(:id => "input-overflow-default")
<!DOCTYPE HTML>
<html>
<head>
<title>dgrid performance test</title>
<link rel="stylesheet" href="dijit/themes/claro/claro.css" />
<script type="text/javascript">
var dojoConfig = {
async: true,
baseUrl: "./",
parseOnLoad: false,
@rhpijnacker
rhpijnacker / grid_test
Last active December 22, 2015 19:39
dgrid selection bug
<!DOCTYPE HTML>
<html>
<head>
<title>dgrid performance test</title>
<link rel="stylesheet" href="dijit/themes/claro/claro.css" />
<script type="text/javascript">
var dojoConfig = {
async: true,
baseUrl: "./",
parseOnLoad: false,
<!DOCTYPE HTML>
<html>
<head>
<title>dgrid performance test</title>
<link rel="stylesheet" href="dijit/themes/claro/claro.css" />
<script type="text/javascript">
var dojoConfig = {
async: true,
baseUrl: "./",
parseOnLoad: false,